Error Mess: Cannot DEL transformation ??

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-04-01
11:23 PM
- last edited on
2023-05-24
12:50 PM
by
Rubia Torres
2004-04-01
11:23 PM

TIA
30 REPLIES 30
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-04-15 03:11 PM
2004-04-15
03:11 PM
Daniel wrote:Daniel,Matthew wrote:
Of course it'spossible, just VERY unlikely. Transformations are rarely (if ever) driven by user parameters.
Matthew
Transformations are often conditional and driven by user parameters.
For instance the number of times the origin is moved to insert a glazing bar (muntin) in a window is determined by a loop that is driven by the grid size in the user parameters. Good scripting needs to also make the DEL lines conditional in the same way, to take the right number of steps back.
You are right, bad code can lead to this problem (and many others). I was thinking of PROPERLY coded parts. The transformation stack always needs to be handled to accommodate whatever variables may occur (user parameters or otherwise) as in:
FOR i = 1 TO n
add a, b, c
! do something
NEXT i
del n-1
The reason I did not suspect bad code was that the library part did not produce any errors for me or Link using the same settings that generated the errors for Dave.
- « Previous
- Next »
- « Previous
- Next »