|
changing a part color via api???
hi, i am trying to change the color of a part but i couldnt find it anywhere, i couldnt even select the hole part via api when openning a part file. i can select the bodies and the features but not the hole part. i want to change its color so when i add a cut hole the cut will not have a diferent color.
can anyone tell me at least the command.. or if it is not possible at all.
thanks
emerson
find a job or post a job opening
have you investigated the myriad macros available for download that are related to color?
you may have to remove color from all bodies and faces first, because even if the whole part is set to red (for example), if there are bodies, faces, or features that are set to some other color that will override the part color for that boxy/feature/face.
-handleman, cswp (the new, easy test)
i searched the solidworks macro avaiable for download.. none of them changes the color of a part, only the face/body color.
modeldoc2::materialpropertyvalues
it worked.. :d
i have use modelproperties from leonard kikstra for years and haven't found another one worth changing to. it gives you a drop-down of several pallette colors to use and also has an option to remove feature colors: |
|