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)
104,879 Views
814 Replies
Replies (814)

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

Adrian.Mangan
Collaborator
Collaborator

These ones are great too, love the extend to column

0 Likes

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.

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

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

Adrian.Mangan
Collaborator
Collaborator

Great Tip Alecks

0 Likes

Adrian.Mangan
Collaborator
Collaborator

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

0 Likes

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

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



Adrian.Mangan
Collaborator
Collaborator

game changer

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

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

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!

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

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

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

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

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