Access surface color data from parasolid
Hello,
Is it possible to access the color metadata attached to the surfaces in a parasolid (or other CAD format)? This would be useful to designate certain surfaces from our CAD platform prior to a hypermesh automation script. For example, green surfaces have a mesh size (or thickness) of 1 mm, red surfaces 1.5 mm, etc.
I have tried hm_metadata but do not see color as an option.
If not, any other ideas to label surfaces from a CAD program and recognize it in Hypermesh?
Thanks,
Jacob
Best Answer
-
Hello @bocaj22 ,
did you checked Color in the import pop-up when loading a CAD:
If so you should be able to use this command:
hm_metadata findbyname COLOR_RGB
and to get the color with rgb code:
Does it help?
Regards,
Michael
0
Answers
-
Hello @bocaj22 ,
did you checked Color in the import pop-up when loading a CAD:
If so you should be able to use this command:
hm_metadata findbyname COLOR_RGB
and to get the color with rgb code:
Does it help?
Regards,
Michael
0 -
Michael Herve_21439 said:
Hello @bocaj22 ,
did you checked Color in the import pop-up when loading a CAD:
If so you should be able to use this command:
hm_metadata findbyname COLOR_RGB
and to get the color with rgb code:
Does it help?
Regards,
Michael
Michael,
I did not realize it was an option during import. That solves it, thanks!
0