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

801 REPLIES 801
SOLVED
Reply
Message 1 of 802
acbsdesign
87569 Views, 801 Replies

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



801 REPLIES 801
Message 21 of 802
CHRIS_ASDL
in reply to: dave_conibear

Hi Dave,

 

The Autodesk help file isn't very clear at all. @Sebastian_Eiche produced a very good screen cast on custom commands. Like with everything in AS, once you have created a couple its relatively straight forward.

 

https://knowledge.autodesk.com/support/advance-steel/learn-explore/caas/screencast/Main/Details/da09...

Kind Regards

Chris
Message 22 of 802
acbsdesign
in reply to: dave_conibear

Hi Dave,

 

Type CUI

On the upper left corner-click on SHORTCUT MENUS

DEFAULT menu is your right click when no command is active (devs and more experienced users, please excuse my vocabulary if it is incorrect)

Now we have to create the custom command and drag it to this menu.

On the left side down-right click over commands, NEW COMMAND

Add new commandAdd new command

Type the name, and the menu on the right-macro- copy and paste:   ^C^C_qsave;close

Name and description-per your preferences, may be Save and Close

Choose a toolbar-EDIT

IMPORT-  from C:\Users\  PC NAME \AppData\Roaming\Autodesk\Advance Steel 2019\R23.0\enu\Support\Icons

I did create there my BMP files (copied by Autodesk and modified)

When the command is created, it is dragged to the default menu (or edit menu for other commands), and save the CUI file. 

Advance steel cui file is located here in case you need to back it up:

C:\ProgramData\Autodesk\Advance Steel 2019\USA\Steel\Support\Toolbars

 

Save and close 2.jpg

 

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



Message 23 of 802
acbsdesign
in reply to: dave_conibear

Also-You can drag the new commands to Autocad tool palette.

I find this very useful, I have created all my blocks in one dwg that is always located on the desktop, and uploaded them to the tool palette by right click + drag. This works for dynamic blocks too.

 

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



Message 24 of 802
dave_conibear
in reply to: CHRIS_ASDL

Hi Chris

.........thanks for that...........much appreciated

I'll put it to good use

cheers

Dave

Message 25 of 802
dave_conibear
in reply to: acbsdesign

Hi Ilko

..............that is absolutely what I wanted..........and easy to follow

thank you for posting that........really much appreciated

cheers

Dave

Message 26 of 802
acbsdesign
in reply to: acbsdesign

When searching for lost in the universe welds and bolts:

 

Select plate or beam, command selects connection object, searches and points them with the red arrows:

 

“Mark connection objects and show marking” 

 

^C^C_AstM4CommMarkConnMeans \;_AstM4CommShowMarkings

 

This is my toolbar for it, it has to be concerted to .bmp if used:

Show Connection Means.jpg

 

 

Cheers

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



Message 27 of 802
acbsdesign
in reply to: acbsdesign

A tiny one helping extending two lines to their intersection point:

 

Fillet with radius 0

 

^C^C _fillet ;r ;0

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



Message 28 of 802
Anonymous
in reply to: acbsdesign


@acbsdesign wrote:

A tiny one helping extending two lines to their intersection point:

 

Fillet with radius 0

 

^C^C _fillet ;r ;0


 

That seems fantastic, huge time and click saver!

One quick question, I decided to go the whole hog with this one and add it to my ribbon and right-click edit menu using the cui editor. Even made an icon. But the command doesn't work. I think it's because of the ;r ;0 modifier at the end. How can these be included in the macro in the cui editor? Or can they not?

Message 29 of 802
Anonymous
in reply to: Anonymous


@Anonymous wrote:

@acbsdesign wrote:

A tiny one helping extending two lines to their intersection point:

 

Fillet with radius 0

 

^C^C _fillet ;r ;0


 

That seems fantastic, huge time and click saver!

One quick question, I decided to go the whole hog with this one and add it to my ribbon and right-click edit menu using the cui editor. Even made an icon. But the command doesn't work. I think it's because of the ;r ;0 modifier at the end. How can these be included in the macro in the cui editor? Or can they not?


 

False alarm, sorted it.

You just don't use the spaces between the semi-colons (^C^C _fillet;r;0).

Works like a charm!

Thanks

Message 30 of 802
AleckGiles
in reply to: Anonymous

HI,

Remember, in all such command strings for buttons any space or semi-colon ";" counts as pressing return on the keyboard. I always use ";" in the command strings because you can see them unlike spaces. Naturally you must make sure you get the right simulated key sequence including returns.

Aleck Giles, Structures Consultant, Graitec
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


LinkedIn
Message 31 of 802
Anonymous
in reply to: AleckGiles

Ah, that explains it.

Good tip. I always use spaces but, like you say, they are invisible. I'll switch to ;

Thanks Aleck

Message 32 of 802
acbsdesign
in reply to: AleckGiles

I do not have the spaces in my command line, strange spaces were copied, but anyway, Thank you, @AleckGiles  for the info. 

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



Message 33 of 802
acbsdesign
in reply to: AleckGiles

@AleckGiles 

 

Can you write a macro for command "Hide detailed parts"-Any SP or MP that is placed on a drawing to be hidden? 

 

SP or MP to be dependent on the current MP, SP, Preliminary Number selection.

 

Or "Hide detailed SP" as a separate command, and another one "Hide detailed MP"

 

Please send me a quote if you would like to do it.

 

Thank you.

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



Message 34 of 802
alickomay
in reply to: dave_conibear

..

Message 35 of 802
Anonymous
in reply to: Anonymous

Small update to the Fillet0 command, this is the command string you should use to add it to the CUI

^C^C_fillet;r;0;;

Icon also attached, I added it to the fillet/chamfer/blended curves drop-down menu

Message 36 of 802
acbsdesign
in reply to: Anonymous

@Anonymous  

I will use the bmp file.

Thank you.

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



Message 37 of 802
acbsdesign
in reply to: acbsdesign

Rotate and Align with a base point, a huge time saver for repetitive bridge work.

^C^C_rotate \r;\\\;;

 

https://autode.sk/2tTJWFp

 

Link for an example of put to good use.

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



Message 38 of 802
Anonymous
in reply to: acbsdesign


@acbsdesign wrote:

Rotate and Align with a base point, a huge time saver for repetitive bridge work.

^C^C_rotate \r;\\\;;

 

https://autode.sk/2tTJWFp

 

Link for an example of put to good use.


Another cracker! I like it.

Keep them coming Smiley Happy

Message 39 of 802
Anonymous
in reply to: CHRIS_ASDL

^C^C_ASTM4COMMROTATEUCS;X;

rotate UCS around X axis, accordingly change X to Y or Z for simillar outcome 😉 usefull when detailing etc.

Message 40 of 802
Sebastian_Eiche
in reply to: Anonymous

you mean like this commands Smiley LOL

 

UCS.jpg


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