Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing a part color via API???

Status
Not open for further replies.

packmen

Mechanical
Aug 31, 2001
77
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

 
Replies continue below

Recommended for you

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.
:(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor