×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

CHANGE IMPORTED FEATURE COLOR
3

CHANGE IMPORTED FEATURE COLOR

CHANGE IMPORTED FEATURE COLOR

(OP)
Hi,
I want to change an imported features color...I've tried to chg part, feature and body appearance color...didn't work...
the only way to change the color was by selecting each individual surface. The part is a plastic enclosure with ribs, bosses, holes...it has a lot of surfaces. I do not have the original file that it was imported from. Thanks in advance for any ideas.

Jorge

RE: CHANGE IMPORTED FEATURE COLOR

2
Could be the faces came in with their own color already.

I have a program that is part of a VB turotial in-the-making.  It can be found at <http://www.esoxrepublic.com/models>.  The file to download is MakeAddinFromExeVB.zip.  There is an .exe named "ScrubFaces.exe" that will purge color settings from all faces on all bodies.

Due to illness, the part of The Tick will be played by... The Tick.
http://www.EsoxRepublic.com

RE: CHANGE IMPORTED FEATURE COLOR

Tick,

Does your program scrub textures as well as colors?  We have some texture-happy users who's parts are now wreaking havoc in large ass'ys.  I have not found a quick way to remove all textures in a part.

RE: CHANGE IMPORTED FEATURE COLOR

Haven't messed with that.  The program was written for the purpose of having a simple .exe app to turn into an addin.  If you have access to a full version of VB, all the source code is there to play with.

RE: CHANGE IMPORTED FEATURE COLOR

(OP)
Tick,
Where have you been all my life...worked perfectly...Thanks so much.

Jorge

RE: CHANGE IMPORTED FEATURE COLOR

Beside the macro approach there is another easy way to select all faces to clear the color: select the face filter (standard shortcut is x), then switch graphic display to wireframe (not hidden line, pure wireframe), then select the complete model with a huge a rubber-band box.

Now all faces are selected and you can call the color property manager page.

For the removal of textures on faces use the same trick; there are no API calls (yet) for that, I have an Api related SPR for that:

SPR 183041 - "Need API to get/set/remove SolidWorks display texture information"

HTH,
Stefan

--
unofficial german SolidWorks helppage
http://solidworks.cad.de
Shareware, freeware, tools and macros
http://swtools.cad.de

RE: CHANGE IMPORTED FEATURE COLOR

SWCADMAN,

Since this is an imported feature, did it come in as a solid or surfaces?  If it came in as a solid you should be able to change its color the way you tried.  It sounds to me like you might not have a solid, in which case TheTick and berlitz have listed good solutions for surfaces.

- - -Dennyd

RE: CHANGE IMPORTED FEATURE COLOR

(OP)
Berlitz,
Very nice...Thanks...that approach opened all new possibilties in my endevour to be a great SW CAD operator.

Jorge

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources