(2018-02-12, 21:20)Brian Dag Wrote:(2018-02-12, 21:04)Johann Eisner Wrote: And how are the parts displayed in the PLI with this syntax?
I would still do it with buffer exchange.
Syntax for LPUB3D
.....
0 STEP
0 BUFEXCHG A STORE
1 0 268 0 280 0 1 0 -1 0 0 0 0 1 Sub23.ldr (Submodelposition before assembly)
0 MLCAD ARROW 67170319 85 40 160 1 0 0 0 1 0 0 0 1 15 4 13 90 4 30 1 2 16 16 (Arrow to show how assembly)
0 STEP
0 BUFEXCHG A RETRIEVE
0 !LPUB PART BEGIN IGN
1 0 118 -20 280 0 1 0 -1 0 0 0 0 1 Sub23.ldr (Submodell in right position)
0 !LPUB PART END
0 STEP
...
My mpd file is built as stated above per David. There is a step to build this submodel shown on the page before. Even though I'm turning it into a group is still seems to act as a submodel when it needs to and yet still subjects itself to group commands when needed. Note that I turned the submodel within my mpd file into a group. I didn't substitute a group for a submodel. I can add "0 !LPUB PLI SHOW LOCAL TRUE" to the submodel and format it to look like a regular step on it's own page. Then on the main model page it can be treated as a group.
But thank you for the context. I had been trying to use buffer exchange but somehow was not figuring out the PART BEGIN/END portion. It worked equally as well and I'll keep that instead.
Dag
Hi
The problem is that.
The Buffer exchange syntax from lpub doesn't work in lpub3d.
In lpub you use normally the ghost command in the “Store“ action. This command doesn't work in lpub3d.
So you must ignore the parts in the retrieve action
There is already a discussion on
https://sourceforge.net
If nothing goes right, go left.