LPub Change the view of a Callout


RE: Change the view of a Callout
#12
(2020-09-12, 16:17)Johann Eisner Wrote: Hi Manfred
The attached code works for me without any problems.
I suspect you rotated the model with a ROTSTEP command before adding the callout.
As a result, the callout also adopts this "relative" rotation.
You can remedy this, as briefly written above, by inserting the line “0 ROTSTEP 0 0 0 REL” in the sub-model of the callout after the header before the first part.

New partfile is attached.


Hi Johann,



Thank you for your answer. Unfortunately, it didn't work for me. The code looks like this:

0 FILE part.mpd
0 Name: Part
0 !LPUB CALLOUT PLI PER_STEP GLOBAL FALSE
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 0 8.787 -8 -31.213 0.707107 0 0.707107 0 -1 0 0.707107 0 -0.707107 3023.dat
1 0 15.858 0 -24.142 -0.707107 0 -0.707107 0 -1 0 -0.707107 0 0.707107 63864.dat
1 0 51.213 0 -31.213 -0.707107 0 0.707107 0 -1 0 0.707107 0 0.707107 3069b.dat
1 0 44.142 -8 -24.142 -0.707107 0 0.707107 0 -1 0 0.707107 0 0.707107 3623.dat
1 1 30 -16 -10 0.707107 0 -0.707107 0 -1 0 -0.707107 0 -0.707107 2420.dat
0 STEP
0 !LPUB CALLOUT BEGIN
1 1 0 -40 0 1 0 0 0 -1 0 0 0 1 1.ldr
0 !LPUB CALLOUT PLACEMENT RIGHT CENTER ASSEM OUTSIDE OFFSET 0.4866 -1.7853
0 !LPUB CALLOUT END
0 STEP
0 NOFILE
0 FILE 1.ldr
0 Name: 1.ldr
0 Author: Manfred Schäfer
0 ROTSTEP 0 0 0 REL
1 1 30 0 -20 1 0 0 0 1 0 0 0 1 3003.dat
0 STEP
1 1 20 -16 -10 0 0 1 0 1 0 1 0 0 6091.dat
1 1 20 -16 -30 0 0 1 0 1 0 1 0 0 6091.dat
1 1 40 -16 -10 0 0 -1 0 1 0 -1 0 0 6091.dat
1 1 40 -16 -30 0 0 -1 0 1 0 -1 0 0 6091.dat
0 STEP
1 1 30 -16 -30 1 0 0 0 1 0 0 0 -1 3794a.dat
1 1 30 -16 -10 1 0 0 0 1 0 0 0 -1 3069b.dat
0 STEP
0 NOFILE



The result (2nd page) looks like this:




.png   Wrong.PNG (Size: 25.58 KB / Downloads: 30)



What I expected or how it should be is like this:




.png   Right.PNG (Size: 41.94 KB / Downloads: 30)



I use the Version 2.3.13 (latest Version)


Regards



Manfred


Attached Files
.mpd   Part.mpd (Size: 1.11 KB / Downloads: 0)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Change the view of a Callout - by Manfred Schaefer - 2020-09-14, 11:12

Forum Jump:


Users browsing this thread: 2 Guest(s)