Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data Standard : Read in Adsklib definition

2 REPLIES 2
Reply
Message 1 of 3
fsanchou
298 Views, 2 Replies

Data Standard : Read in Adsklib definition

Hi,

 

I would like to be able to choose the part’s material using either the name, comment or keyword.

I know how to link comboBox each other.

 

adsklib.png

My question is: How to read additional fields of material and add these fields in combo box?

 

Thanks,

2 REPLIES 2
Message 2 of 3
marco.mirandola
in reply to: fsanchou

Hi, with Data Standard at the moment only the material property is exposed. There is a property called Material. If you set the Value of the Material (Prop[Material].Value="Aluminium"), then the material in Inventor will be set accordingly. If you bind the ItemsSource of a combobox to Prop[Material].ListValues then you get the combobox populated with the materials available in Inventor. Here is a sample http://blog.coolorange.com/2014/02/07/data-standard-how-much-wpf-do-you-need-to-know/

However, there are no more information on material.

i hope this helps.
ciao
marco
coolOrange
www.coolorange.com
Message 3 of 3
fsanchou
in reply to: marco.mirandola

Marco,

 

I am already able to change the material from a combo box as you describe in the link.

 

I want to change but using either name or description

 

Thanks you for your reply.

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

Post to forums  

Autodesk Design & Make Report