Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Color Delete Macro?

144 views
Skip to first unread message

Todd

unread,
Feb 6, 2004, 3:29:37 PM2/6/04
to
Guys:

As most of you know, there are different ways that one can add color
to a SWX part file:

Part Level
Feature Level
Face Level
Assy Level
?????

Unfortunately, when you work with other people how they assign color
is a complete crap shoot -- some know how they should do it, some
don't, and so often when it comes time to tidy them up before release
it's a pain in the butt to remove color from features, faces, etc. so
that you can then reassign a single color at the part level.....

Does anyone have a macro that will remove all colors and other color
properties with the press of a button?

Thanks,

Todd

matt

unread,
Feb 6, 2004, 3:46:47 PM2/6/04
to
I have a macro for face color and another one for feature color. Don't
have one for body color yet. So far, only the face color is set to work
with multibody parts, the feature color macro will work as long as there
are not multibodies present.

I use the face color macro all the time for

http://www.frontiernet.net/~mlombard/

Go to macros library and search the list.

matt


tab...@hotmail.com (Todd) wrote in news:117ce7b5.0402061229.43e59e55
@posting.google.com:

Zander

unread,
Feb 6, 2004, 4:16:16 PM2/6/04
to
Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes!
Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes! Yes!

I commiserate succinctly. Of course I'm my own culprit, often forgetting
as time goes by when, where and how I changed the color of a face or part.

This 'macro' should already be in solidworks.

Zander


tab...@hotmail.com (Todd) wrote in news:117ce7b5.0402061229.43e59e55
@posting.google.com:

> Guys:

Muggs

unread,
Feb 6, 2004, 4:53:08 PM2/6/04
to
Try this: http://swtools.cad.de/macros.htm

There is a macro there called mm_01.zip - clear all face colors.

I think Matt Lombard has one on his site as well,
http://www.frontiernet.net/~mlombard/

HTH,
Muggs


"Todd" <tab...@hotmail.com> wrote in message
news:117ce7b5.04020...@posting.google.com...

Merry Owen

unread,
Feb 6, 2004, 8:48:21 PM2/6/04
to
I had a look at an add-in called Go-Engineer and one of it's functions was
'Auto Colour' - every time you start a new part it will automatically add a
different colour - could be worth it for your office.

Merry :-)

"Todd" <tab...@hotmail.com> wrote in message
news:117ce7b5.04020...@posting.google.com...

TheTick

unread,
Feb 6, 2004, 11:31:32 PM2/6/04
to
Just two weeks ago I posted on eng-tips.com and yahoo SW API forum re:
API to change body color. Same deal: easy enough to reset faces and
features, but no way to reset bodies.

Nothin'!

tab...@hotmail.com (Todd) wrote in message news:<117ce7b5.04020...@posting.google.com>...

matt

unread,
Feb 6, 2004, 11:48:40 PM2/6/04
to
ro...@liquidschwarz.com (TheTick) wrote in news:2e958085.0402062031.50a6a7e1
@posting.google.com:

> Just two weeks ago I posted on eng-tips.com and yahoo SW API forum re:
> API to change body color. Same deal: easy enough to reset faces and
> features, but no way to reset bodies.
>
> Nothin'!

You can RMB on the body in the folder and go to properties, color, remove.
Of course it would be nice to have a macro to do this. It would seem easy
enough to modify the ones on my site to handle all types if you wanted to.

TheTick

unread,
Feb 7, 2004, 8:38:08 AM2/7/04
to
I'm sorry. I failed to mention the obvious. I'll have to be more
meticulous in future postings. We're talking about automating this
process, matt.

When you record a macro while resetting body color, SW records the
commands for resetting face colors. Repeating the commands in a
program does not work, though.

matt <m_lombard@frontier_net.net> wrote in message news:<Xns9487F21C5D395ml...@66.133.130.30>...

TheTick

unread,
Feb 7, 2004, 8:41:02 AM2/7/04
to
Here's one of my recent threads on the Yahoo! SW API forum.
http://groups.yahoo.com/group/SolidWorks-API/message/669

ro...@liquidschwarz.com (TheTick) wrote in message news:<2e958085.04020...@posting.google.com>...

0 new messages