Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how can i make the modelitems back to the original Material

1 REPLY 1
Reply
Message 1 of 2
sd1036770
363 Views, 1 Reply

how can i make the modelitems back to the original Material

i want to do something like the clash detective in navisworks which when i click the clashresult item,the item1 and item2 are in pink and the other modelitems are become like "line style",their Transparency is changed.So the support Mr.Liang told me that after give the models some material,they can't be change color,the only way is give them new material.so my question is how to make the models back to the original material after give them new material,TKS 

1 REPLY 1
Message 2 of 2
xiaodong_liang
in reply to: sd1036770

Hi,

 

if you have checked the API reference or SDK sample, you would have found the relevant methods yourself:

 

DocumentModels ResetAllPermanentMaterials
DocumentModels .ResetPermanentMaterials

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report