Advance Steel Forum
Welcome to Autodesk’s Advance Steel Forums. Share your knowledge, ask questions, and explore popular Advance Steel topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

macro to save in wished viseblility, audit & purge

1 REPLY 1
Reply
Message 1 of 2
BenBraspenning
158 Views, 1 Reply

macro to save in wished viseblility, audit & purge

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 😉😋

BenBraspenning_0-1686656407163.png

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

1 REPLY 1
Message 2 of 2

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

EESignature

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.

Post to forums  

Autodesk Design & Make Report