Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Advance Steel custom commands-share your ideas

acbsdesign
Mentor

Advance Steel custom commands-share your ideas

acbsdesign
Mentor
Mentor

Hello,

It will be nice to learn more about custom commands / combination of Autocad and Advance Steel commands improving productivity. 

To colleagues willing to share-Thank you.

 

Here is a tiny example:

"Hide parts with identical numbers"-used when parts are detailed using drawings styles.

 

^C^C_AstM5equalpartsMarkSame \;AstM4CommSelectMarkedObjects ;_AstM4SwitchReprMode off

 

And another one:

"Hide Similar Advance Steel Objects":

^C^C_SelectSimilar \;_AstM4SwitchReprMode off

 

Regards, 

Ilko Dimitrov

ACBS

If this information was helpful, please use the Accept as Solution function, this makes it easier for other users.

Regards,
Ilko Dimitrov, IDC-1, M. Eng.
Tekla and Advance Steel Detailer
ACBS Structural Steel Detailing

If it is made of steel, I can model it and detail it.

acbs-usa.com | Helpful Place



Reply
Accepted solutions (126)
105,017 Views
814 Replies
Replies (814)

Jonathan3891
Advisor
Advisor

@MetallPlanMerkinger wrote:

Hello@Jonathan3891 

I have seen your Lisp for setting the model role.

I'm looking for a command to set the checkboxes from the user Attributes.

Do you have an Idea, if that checkboxes can be changed with lisp?

MetallPlanMerkinger_0-1721389104730.png

 


I haven't been able to figure out how to set user attributes via lisp like @bigcarl5000kg mentioned. 


Jonathan Norton
Blog | Linkedin
0 Likes

FCort
Collaborator
Collaborator
Thank you for the reply.
I hope it will be easy steps to convert lisp to the new Revit programming languages.
Also for the custom commands.
0 Likes

Julio_Soto
Collaborator
Collaborator

@Jonathan3891 

how did you find these Hype functions to create this lisp? Is there a list available? I'd like to snoop around, maybe there are other possibilities. 

0 Likes

Jonathan3891
Advisor
Advisor

@Julio_Soto which lisp are you referring to? I've posted several in this thread.


Jonathan Norton
Blog | Linkedin
0 Likes

bigcarl5000kg
Advisor
Advisor

method 1 - easy write hype in the command line 😁 and then you will see all related commands

+++ impossible immediately and miracles within 3 days +++
+++ the only constant is the change +++ stay tuned for more +++
+++ since 03/2023 is Advance Steel in maintenance mode, no further development +++

markhubrich
Advisor
Advisor

Look here..

 

https://forums.autodesk.com/t5/advance-steel-forum/lisp-question/td-p/9910700

 

 

...and fix the kiss export issues.
0 Likes

bigcarl5000kg
Advisor
Advisor

method 2 - sample:

https://www.quora.com/What-are-all-of-Autodesk-s-advanced-steel-commands

+++ impossible immediately and miracles within 3 days +++
+++ the only constant is the change +++ stay tuned for more +++
+++ since 03/2023 is Advance Steel in maintenance mode, no further development +++

Julio_Soto
Collaborator
Collaborator

sorry, the one about setting model roles

0 Likes

Jonathan3891
Advisor
Advisor

I think it's the same list that is in the link @bigcarl5000kg provided.


Jonathan Norton
Blog | Linkedin

Julio_Soto
Collaborator
Collaborator

I was creating a bunch of User profiles and I got really tired of placing all the axis and coordinate system blocks. Even having the blocks in my drawing and moving them around gets tiring. So I created a LISP to insert all the AS axes and coordinate system blocks based on user input of 2 points.

2024-09-11 22-26-16_2.gif

for this lisp to work all the Axes and coordinate system blocks must be present in the drawing. I don't know where AS pulls the blocks from so I coulnd't insert them myself.   I think it works okay but I didn't test it heavily. Let me know if it bugs out.

 

This may be helpful to some. 

 

 

Sebastian_Eiche
Mentor
Mentor

the block is inserted by the command correct? maybe the start of the lisp could be run every command one time and exit the command and then use the point to insert them?


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

0 Likes

Julio_Soto
Collaborator
Collaborator

the command AS runs is (HYPE_addrefaxis 1), and you must select an object. I wouldn't be surprised if the lisp creates the block on demand. It probably doesn't pull it from anywhere.

0 Likes

Julio_Soto
Collaborator
Collaborator

sorry, had to update the LISP. I had to set the layer of the blocks to the proper AS layers for the profiling generation to pick up the axes.

Lewk_SGS
Advocate
Advocate

Heya, this is really handy. I create new sections all the time working as a detailer for not only structural but electrical components as well. This is a nifty little time saver for placing those pesky blocks. Thanks!

Lewk_PSB is an old account that is owned by a company I no longer work for.

If this reply answers your question, please "Accept as Solution" - Thanks!
0 Likes

MetallPlanMerkinger
Enthusiast
Enthusiast

Hi all! I have created two small tools for Advance Steel 2025 with VBA, maybe someone can alos use it.

You have to add this commands to a Button:

^C^C-vbaausf prototypes.load_prototypes

^C^C-vbaausf BOMExporter.BOMexporter

 

One is for automatic copy prototypes from server to local drawing path. In my case i work for some different clients, and for everyone i have another prototypes. With that tool i copy all the prototypes bay two clicks.

MetallPlanMerkinger_0-1727962050345.png

 

The other one is for BOM Processing:

MetallPlanMerkinger_1-1727962069893.png

but this one has to be used carefully, when the process is runnung, dont touch the mouse 😅

I have added some Mouse and keyboard kommands, to control the BOMVIEWER.exe

You can add up to 15 BOM Templates, the Name and Key has to be exact the same than in advancesteel, otherwise it wont work. By Clicking run, all the selectet lists getting created and saved as xls or pdf, existing files will be overwritten.

 

PS: I am no programmer, so the code maybe looks funny (thank you Chat GPT), but it works for me, maybe some loops can be added...

 

attached the dvb file in the zipfile

0 Likes