Overrite color / Transperancy

Overrite color / Transperancy

Anonymous
Not applicable
1,318 Views
1 Reply
Message 1 of 2

Overrite color / Transperancy

Anonymous
Not applicable

I have a PDMS Rvm file that i need to do set colors/transparency by everyday for all the hierarchy/layer. I am planning to create a script or dll to make this work by faster way. My question is, whether this is possible ????? If yes, if you have any c# code then please help me to create that..

 

Very much appreciate if any help. 

 

Attached some example program that i downloaded from the internet. 

0 Likes
1,319 Views
1 Reply
Reply (1)
Message 2 of 2

ulski1
Collaborator
Collaborator
To color objects in Navisworks via the API you use the method OverridePermanentColor like so:
Autodesk.Navisworks.Api.Application.ActiveDocument.Models.OverridePermanentColor(newCollection, newColor);
It is also possible to export RVM files from Aveva E3D/PDMS where colors are set during the export using commands like:

EXPORT AUTOCOLOUR RESET

EXPORT AUTOCOLOUR ON

EXPORT AUTOCOLOUR ALL SITE WITH (MATCHWILD (NAME OF SITE, '*ELEC*')) COLOUR 236

EXPORT AUTOCOLOUR ALL SITE WITH (MATCHWILD (NAME OF SITE, '*HVAC*')) COLOUR 32



Br

Ulrik