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
93914 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 81 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

This is a good one Ilko, thank you, just setting up my custom commands now. I like some of your others too.

0 Likes

This is a good one Ilko, thank you, just setting up my custom commands now. I like some of your others too.

Message 82 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

These ones are great too, love the extend to column

0 Likes

These ones are great too, love the extend to column

Message 83 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

These are particularly useful when I go back to trim system line sometimes after changing the design, originally I would split the beam but this was no use as the numbering is then lost, then I was manually dragging beam back, now with this it save me a lot of time. Thank you.

These are particularly useful when I go back to trim system line sometimes after changing the design, originally I would split the beam but this was no use as the numbering is then lost, then I was manually dragging beam back, now with this it save me a lot of time. Thank you.

Message 84 of 815

Adrian.Mangan
Collaborator
Collaborator

Please excuse my ignorance Sebastian, does that mean if I add the weld in the model it will automatically come in without the weld thickness value but if I add it manually in the detail it will have that value?

0 Likes

Please excuse my ignorance Sebastian, does that mean if I add the weld in the model it will automatically come in without the weld thickness value but if I add it manually in the detail it will have that value?

Message 85 of 815

Sebastian_Eiche
Mentor
Mentor

This thickness should be not shown in both cases. Egual if it's placed in the model or detail. 

I set a thickness which is never used in reality, to have these option. In Germany (I don't know if other countries use this too) this option was used to have a clean detail. And then in pageheader the most have the statement:

All not defined welds had to be done in 4mm (for example).


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

This thickness should be not shown in both cases. Egual if it's placed in the model or detail. 

I set a thickness which is never used in reality, to have these option. In Germany (I don't know if other countries use this too) this option was used to have a clean detail. And then in pageheader the most have the statement:

All not defined welds had to be done in 4mm (for example).


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 86 of 815
Adrian.Mangan
in reply to: AleckGiles

Adrian.Mangan
Collaborator
Collaborator

Great Tip Alecks

0 Likes

Great Tip Alecks

Message 87 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

Feel a little guilty I'm just taking and not giving, haha

0 Likes

Feel a little guilty I'm just taking and not giving, haha

Message 88 of 815
Anonymous
in reply to: Adrian.Mangan

Anonymous
Not applicable

@Adrian.Mangan wrote:

Feel a little guilty I'm just taking and not giving, haha


 

I felt like that, but I don't have any custom commands to contribute Smiley Sad

 

I did knock up a couple of icons for the commands to ease my guilt though, see if that helps Smiley Wink


@Adrian.Mangan wrote:

Feel a little guilty I'm just taking and not giving, haha


 

I felt like that, but I don't have any custom commands to contribute Smiley Sad

 

I did knock up a couple of icons for the commands to ease my guilt though, see if that helps Smiley Wink

Message 89 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

This is a great one Ilko, I have tried to adjust it myself it add a remove markings before the command but I cannot find it in the CUI to add it. Any ideas? This would be a great one for me. Thank you for all your input.

0 Likes

This is a great one Ilko, I have tried to adjust it myself it add a remove markings before the command but I cannot find it in the CUI to add it. Any ideas? This would be a great one for me. Thank you for all your input.

Message 90 of 815
acbsdesign
in reply to: Adrian.Mangan

acbsdesign
Mentor
Mentor
Accepted solution

Trim extend to system line

https://youtu.be/ptw__t4sDCw

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



Trim extend to system line

https://youtu.be/ptw__t4sDCw

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 91 of 815
Adrian.Mangan
in reply to: acbsdesign

Adrian.Mangan
Collaborator
Collaborator

game changer

game changer

Message 92 of 815
acbsdesign
in reply to: Anonymous

acbsdesign
Mentor
Mentor

@Anonymous @Adrian.Mangan 

I am sure you will contribute down the road. 

I wish more AS users are taking part of this. @bukko for example, or @Drawtech, or @iwafb -I know everyone is busy, but a few minutes spent here would save hundreds of hours. 

It can be a trick, use of dynamic blocks for example, not necessary to be a custom command. 

Anything that will help with speed and accuracy.

And appearance-both for interface and for drawings.

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



0 Likes

@Anonymous @Adrian.Mangan 

I am sure you will contribute down the road. 

I wish more AS users are taking part of this. @bukko for example, or @Drawtech, or @iwafb -I know everyone is busy, but a few minutes spent here would save hundreds of hours. 

It can be a trick, use of dynamic blocks for example, not necessary to be a custom command. 

Anything that will help with speed and accuracy.

And appearance-both for interface and for drawings.

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 93 of 815
Masibanda-CE
in reply to: acbsdesign

Masibanda-CE
Collaborator
Collaborator
Accepted solution

Here are ones that I've added to shortcut menus that save me heaps of effort ... 1 second at a time:

Deafult MenuDeafult MenuEdit MenuEdit MenuObject Snap & Grip Points MenusObject Snap & Grip Points Menus

Here are ones that I've added to shortcut menus that save me heaps of effort ... 1 second at a time:

Deafult MenuDeafult MenuEdit MenuEdit MenuObject Snap & Grip Points MenusObject Snap & Grip Points Menus

Message 94 of 815
Anonymous
in reply to: Adrian.Mangan

Anonymous
Not applicable
Accepted solution

@Adrian.Mangan wrote:

This is a great one Ilko, I have tried to adjust it myself it add a remove markings before the command but I cannot find it in the CUI to add it. Any ideas? This would be a great one for me. Thank you for all your input.


Adapted from Sebastian's "Select Main Part"

Isolate Assembly (with a remove all marking command at the start, without that it will isolate the assembly of the selected part, plus any currently marked parts). Also an Escape at the end i pinched from one of Ilko's.

_^C^C_AstM4CommUnmarkObjects;_AstM4SwitchReprMode MAINSTRUCTURE \;AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;

 

Adapted from Ilko's "Isolate Identical Parts" (with a remove all marking command at the start, without that it will isolate the identical parts, plus any currently marked parts). Also an Escape at the end i pinched from one of Ilko's.

_^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame \;AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;

 

If, like the commands above, a command clears all marking I put a warning in the command name. That's a lesson I learned the hard way!


@Adrian.Mangan wrote:

This is a great one Ilko, I have tried to adjust it myself it add a remove markings before the command but I cannot find it in the CUI to add it. Any ideas? This would be a great one for me. Thank you for all your input.


Adapted from Sebastian's "Select Main Part"

Isolate Assembly (with a remove all marking command at the start, without that it will isolate the assembly of the selected part, plus any currently marked parts). Also an Escape at the end i pinched from one of Ilko's.

_^C^C_AstM4CommUnmarkObjects;_AstM4SwitchReprMode MAINSTRUCTURE \;AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;

 

Adapted from Ilko's "Isolate Identical Parts" (with a remove all marking command at the start, without that it will isolate the identical parts, plus any currently marked parts). Also an Escape at the end i pinched from one of Ilko's.

_^C^C_AstM4CommUnmarkObjects;_AstM5equalpartsMarkSame \;AstM4CommSelectMarkedObjects ; _AstM10ViewSelObjects;;_AstM4CommUnmarkObjects;;;graphscr;redraw;

 

If, like the commands above, a command clears all marking I put a warning in the command name. That's a lesson I learned the hard way!

Message 95 of 815
Drawtech
in reply to: acbsdesign

Drawtech
Collaborator
Collaborator
Accepted solution

@acbsdesign 

Ilko,  OK - how about custom drawing labels using vb script...

The tokens %ObjectTopLevel and %ObjectBottomLevel add a "-" if negative but not "+" when positive.

Also, they omit trailing zeros.

...so how about these label definitions:

(just paste into a drawing label dialog)

 

T.O.S. %%script(Q = (%ObjectTopLevel): If Q>0 then appendstring ("+" & (FormatNumber(Q,3))) else appendstring (FormatNumber(Q,3)))


B.O.S. %%script(Q = (%ObjectBottomLevel): If Q>0 then appendstring ("+" & (FormatNumber(Q,3))) else appendstring (FormatNumber(Q,3)))

 

Dave Gronow
Drawtech Services Ltd

@acbsdesign 

Ilko,  OK - how about custom drawing labels using vb script...

The tokens %ObjectTopLevel and %ObjectBottomLevel add a "-" if negative but not "+" when positive.

Also, they omit trailing zeros.

...so how about these label definitions:

(just paste into a drawing label dialog)

 

T.O.S. %%script(Q = (%ObjectTopLevel): If Q>0 then appendstring ("+" & (FormatNumber(Q,3))) else appendstring (FormatNumber(Q,3)))


B.O.S. %%script(Q = (%ObjectBottomLevel): If Q>0 then appendstring ("+" & (FormatNumber(Q,3))) else appendstring (FormatNumber(Q,3)))

 

Dave Gronow
Drawtech Services Ltd
Message 96 of 815
Drawtech
in reply to: Drawtech

Drawtech
Collaborator
Collaborator
Accepted solution

More drawing labels:

 

For foundation and base plate levels on plan drawings:

We generally use 25mm pack & grout in the UK.  Change the red number to suit what you use:

 

U/S Base Plate %%script(Q1 = (%ObjectBottomLevel): If Q1>0 then appendstring ("+" & (FormatNumber(Q1,3))) else appendstring (FormatNumber(Q1,3)))#NewlineT.O.C. Found'n %%script(Q1 = (%ObjectBottomLevel-0.025😞 If Q1>0 then appendstring ("+" & (FormatNumber(Q1,3))) else appendstring (FormatNumber(Q1,3)))

Dave Gronow
Drawtech Services Ltd

More drawing labels:

 

For foundation and base plate levels on plan drawings:

We generally use 25mm pack & grout in the UK.  Change the red number to suit what you use:

 

U/S Base Plate %%script(Q1 = (%ObjectBottomLevel): If Q1>0 then appendstring ("+" & (FormatNumber(Q1,3))) else appendstring (FormatNumber(Q1,3)))#NewlineT.O.C. Found'n %%script(Q1 = (%ObjectBottomLevel-0.025😞 If Q1>0 then appendstring ("+" & (FormatNumber(Q1,3))) else appendstring (FormatNumber(Q1,3)))

Dave Gronow
Drawtech Services Ltd
Message 97 of 815
acbsdesign
in reply to: Anonymous

acbsdesign
Mentor
Mentor

This is what I was talking about, do not hide opinion due to fear account will be suspended, or knowledge, and experience under the pillow-add something.

I am already using 3 of your icons.

I will test these two commands as modified. I was looking to get the parts unmarked-thank you.

Good thinking, keep posting.

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



0 Likes

This is what I was talking about, do not hide opinion due to fear account will be suspended, or knowledge, and experience under the pillow-add something.

I am already using 3 of your icons.

I will test these two commands as modified. I was looking to get the parts unmarked-thank you.

Good thinking, keep posting.

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 98 of 815
acbsdesign
in reply to: Drawtech

acbsdesign
Mentor
Mentor

@Drawtech 

Wait wait, slow down, I am completely new to this.

Looking fwd to use it. 

Thank you, David.

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



0 Likes

@Drawtech 

Wait wait, slow down, I am completely new to this.

Looking fwd to use it. 

Thank you, David.

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 99 of 815
Drawtech
in reply to: Drawtech

Drawtech
Collaborator
Collaborator
Accepted solution

More drawing labels:

 

Some for csk and slotted holes:

 

%BoltCount - %Diameterø CSK for M%%script(D = %Diameter: if D < 12 then appendstring D-1 else appendstring D-2) %%script(if %BoltCount = 1 then appendstring "Bolt" else appendstring "Bolts")


%BoltCount - %Diameterø x %Length %%script(if %BoltCount = 1 then appendstring "Slot" else appendstring "Slots")

Dave Gronow
Drawtech Services Ltd

More drawing labels:

 

Some for csk and slotted holes:

 

%BoltCount - %Diameterø CSK for M%%script(D = %Diameter: if D < 12 then appendstring D-1 else appendstring D-2) %%script(if %BoltCount = 1 then appendstring "Bolt" else appendstring "Bolts")


%BoltCount - %Diameterø x %Length %%script(if %BoltCount = 1 then appendstring "Slot" else appendstring "Slots")

Dave Gronow
Drawtech Services Ltd
Message 100 of 815
Drawtech
in reply to: Drawtech

Drawtech
Collaborator
Collaborator
Accepted solution

More drawing labels:

 

'Assembly detail call off - if coating None, leave off:

 

%Quantity No. Mkd %MainPartPosNum #Height(3.50)%%script(Coat = "%Coating": NoCoat = "None": Compare = StrComp(Coat, NoCoat, 1): If Compare <> 0 then appendstring "("&Coat&")")

Dave Gronow
Drawtech Services Ltd

More drawing labels:

 

'Assembly detail call off - if coating None, leave off:

 

%Quantity No. Mkd %MainPartPosNum #Height(3.50)%%script(Coat = "%Coating": NoCoat = "None": Compare = StrComp(Coat, NoCoat, 1): If Compare <> 0 then appendstring "("&Coat&")")

Dave Gronow
Drawtech Services Ltd

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

Post to forums  

Autodesk Design & Make Report