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: 

Advance Steel custom commands-share your ideas

814 REPLIES 814
SOLVED
Reply
Message 1 of 815
acbsdesign
93941 Views, 814 Replies

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



Advance Steel custom commands-share your ideas

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



814 REPLIES 814
Message 801 of 815

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


@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
Message 802 of 815
FCort
in reply to: Jonathan3891

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

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.
Message 803 of 815
Julio_Soto
in reply to: Jonathan3891

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 

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. 

Message 804 of 815
Jonathan3891
in reply to: Julio_Soto

Jonathan3891
Advisor
Advisor

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


Jonathan Norton
Blog | Linkedin
0 Likes

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


Jonathan Norton
Blog | Linkedin
Message 805 of 815
bigcarl5000kg
in reply to: acbsdesign

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 +++

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 +++
Message 806 of 815
markhubrich
in reply to: bigcarl5000kg

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

Look here..

 

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

 

 

...and fix the kiss export issues.
Message 807 of 815
bigcarl5000kg
in reply to: acbsdesign

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 +++

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 +++
Message 808 of 815
Julio_Soto
in reply to: Jonathan3891

Julio_Soto
Collaborator
Collaborator

sorry, the one about setting model roles

0 Likes

sorry, the one about setting model roles

Message 809 of 815
Jonathan3891
in reply to: acbsdesign

Jonathan3891
Advisor
Advisor

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


Jonathan Norton
Blog | Linkedin

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


Jonathan Norton
Blog | Linkedin
Message 810 of 815
Julio_Soto
in reply to: acbsdesign

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. 

 

 

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. 

 

 

Message 811 of 815

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

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

Message 812 of 815

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

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.

Message 813 of 815
Julio_Soto
in reply to: Julio_Soto

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.

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.

Message 814 of 815
Lewk_SGS
in reply to: Julio_Soto

Lewk_SGS
Enthusiast
Enthusiast

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

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!
Message 815 of 815

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

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report