Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: Search a model tree and change the color of parts found

$
0
0

Hi Corey,

 

SAP 3D Visual Enterprise Author 8.0 x64 does not have scripting abilities, but the SAP 3D Visual Enterprise Viewer 8.0 32-bit does have scripting abilities.

 

It is scriptable from javascript in HTML and c#, and other Com compatible hosting environments.

 

I recommend downloading and installing both the Viewer and the SDK. You can begin this process from the links below:

https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pcntry=US&sap-language=EN&pid=0000000233

https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pcntry=US&sap-language=EN&pid=0000012810

And then checking out some of the examples in your language of choice.

 

To answer your question regarding changing the color of a parts list. Parts can have their color changed temporarily with the Node.Paint(Color c) method, or changed permanently by changing a Node's Material (eg Node.Material.DiffuseColor = Creator.Color.create(r,g,b)

 

Regards,

 

Anthony Cassidy
IMS for Visual Enterprise

SAP New Zealand

151 Queen Street, Auckland, New Zealand.

T +64 93555608 | F | M

mailto:anthony.cassidy@sap.com

www.sap.com

View our ISO 14001 certifications


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>