Hi,
Who can help me to make my macro better?
problem now is that if there is no plate (or beam, or bolt) the macro stops.
Thanks!!
It should be a button in the next AS version 😉😋
this is my icoon.
^C^C_AstM4SelectObjectByName ASTBEAM
AstM4SwitchReprMode default
resume
AstM4SelectObjectByName ASTPLATE
AstM4SwitchReprMode default
resume
AstM4SelectObjectByName ASTSCREWBOLTPATTERN
AstM4SwitchReprMode exact
resume
Audit
Y
Purge
B
*
N
Purge
G
*
N
Qsave
this is a question of "what step should be done before the other"? A lisp which could handle errors would be a better way for it
So your command stops, if an object could not be selected correct?
I would do the audit and purge at first, then select plates and beams in one step, change the reprmode and then the bolts (because there will be no bolts without beams and plates).
the following is without testing, because I'm not in the office, maybe I could test it later
^C^C_Audit
Y
Purge
B
*
N
Purge
G
*
N
Qsave *--> maybe this should be in the end, but it will also stop, if there's nothing to select...maybe double save?
_AstM4SelectObjectByName;ASTBEAM,ASTPLATE;
AstM4SwitchReprMode;default;
resume
AstM4SelectObjectByName;ASTSCREWBOLTPATTERN;
AstM4SwitchReprMode;exact;
Sebastian Eiche
Application Engineer @Mensch und Maschine acadGraph
If this information was helpful, please use the Accept as Solution function, this make it easier for other users
Can't find what you're looking for? Ask the community or share your knowledge.