Subject:
|
can LPUB PLI BEGIN ... sections be nested?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 4 Feb 2008 01:00:05 GMT
|
Viewed:
|
3551 times
|
| |
| |
Can LPUB PLI BEGIN sections be nested?
I did not have this problem until I started using lsynthcp version 3.0 (which I
probably got directly from Kevin). This version of LSynth automatically inserts
LPUB parts list directives to substitute the appropriate part for SYNTH
sections.
Which is great, except I have some models that use "plist ignore" sections that
contain SYNTH sections. Something like this:
0 LPUB PLI BEGIN IGN
...
0 SYNTH BEGIN RCX_CABLE_17CM 0
...
0 SYNTH END
...
0 LPUB PLI END
Which LSynth turns into this:
0 LPUB PLI BEGIN IGN
...
0 LPUB PLI BEGIN SUB 5306C02.dat 0
0 SYNTH BEGIN RCX_CABLE_17CM 0
...
0 SYNTH END
0 LPUB PLI END
...
0 LPUB PLI END
It appears LPub does not handle nested PLI BEGIN sections since the result is
any parts after the first SYNTH END are NOT ignored from the parts list.
Am I understanding this correctly? The only workaround I can think of is to add
extra END and BEGIN lines after each SYNTH END in the ignored section, like
this:
0 LPUB PLI BEGIN IGN
...
0 SYNTH BEGIN RCX_CABLE_17CM 0
...
0 SYNTH END
0 LPUB PLI END
0 LPUB PLI BEGIN IGN
...
0 LPUB PLI END
Steve Putz
www.RoboticsLearning.com
|
|
Message has 1 Reply: | | Re: can LPUB PLI BEGIN ... sections be nested?
|
| (...) Hi Steve, LPub cannot (and should not) support any nested META commands, except for the nesting implied by use of sub-models. I think the mistake you are making is to synthesize actual lego products, rather than by hose/cable type. The purpose (...) (17 years ago, 5-Feb-08, to lugnet.cad)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|