BOM on drawind - VBScript

BOM on drawind - VBScript

fabiano
Explorer Explorer
991 Views
6 Replies
Message 1 of 7

BOM on drawind - VBScript

fabiano
Explorer
Explorer

Hello, there is a VBScript tab for configuring a BOM, but I'm not sure how to use it. Someone, could I help?

 

7.png

 

I wanted to concatenate some variables and texts.

 

%Name + “x” + %Length

 

to follow the example

 

8.png

 

992 Views
6 Replies
Replies (6)
Message 2 of 7

Jonathan.Jasinski
Collaborator
Collaborator

So you wouldn't need to use the VB script to do that.  For that label in the editor you can simply type "%Name x %Length" without quotes and it should work.

0 Likes
Message 3 of 7

fabiano
Explorer
Explorer

Not working, I had already tried this,
I tried again now, it just goes out all white, if you try to concatenate nothing comes out.

 

 

I found this link that teaches for external lists.

 

https://knowledge.autodesk.com/support/advance-steel/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU...


But for internal BOM drawing does not work.

0 Likes
Message 4 of 7

markhubrich
Advisor
Advisor

Bump this 2 year old thread.

 

I am trying to do a script in a BOM template to make an assy quantity say "ONE" if the qty = 1. If it doesn't = 1 then the field just displays the actual value.

 

 

...and fix the kiss export issues.
0 Likes
Message 5 of 7

Sebastian_Eiche
Mentor
Mentor

I'm not sure 100% but I think the vbscripts are not working in the bom on drawing. I think this is a problem , because the bom on drawing is something like a block


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
Message 6 of 7

Kélcyo
Advocate
Advocate

Exactly what I have been looking for now, but this post was in 2017 and so far there has been no solution?
I am beginning to believe that the Autodesk improvement team has not endeavored to help improve ADS

0 Likes
Message 7 of 7

Dias_Antonio
Collaborator
Collaborator

@fabiano 

 

I have had this same doubt and posted in this forum... see the link

 

https://forums.autodesk.com/t5/advance-steel-forum/token-quot-userattribute-quot-disappears-when-set...

 

It is very similar to your issue

- Marque "Aceitar como Solução", caso tenha resolvido seu problema.


- Select "Accept as Solution", if it has soplved the problem.


- Clique em "Curtir" se a resposta ajudou.


- Click on "like" if the answer helped.


 


Antonio Dias


|Linkedin|Instagram|Facebook|Twitter|YouTube|


Colaborador da Comunidade de Usuários Autodesk Brasil

0 Likes