Is there a way to use the center of mass coordinates to create a point (that would become evantually a sphere) that will be dynanically updated (new CG) each time that the geometry of my part or solid bodie would change? Thanks for your help.
Pablo,
Didn't find your answer? Ask the community — no account required.
T
TheTick
The only way I know of is with a macro feature. I haven't really done enough with macro features to tell you exactly how, unfortunatley.
S
Sean Phillips
do you know visual basic or c++?
P
Pablo
Hi Sean,
I know very little of visual basic and nothing about C++, but give me the basic ideas and I'll see what I can do from there, thanks.
L
Len K. Mar
Pablo,
Do a google search on this user group. Type in "CG Macro" and you will several different versions. They should provide for the basis for further customization if they don't do what you want.
Len
M
Muggs
Hello Pablo,
Try this:
formatting link
Open this and start suppressing features to see the CG update. The macro and the model must be in the same folder, and of course you'll need to be running SW2003 or newer version of SolidWorks, because it uses the Macro Feature capability. BTW, I would love to give credit to whoever wrote this macro but I got it from someone else, and there's no name in the macro. So if you're reading this and this is your macro, thank you, I've benifited from it.
HTH, Muggs
W
Wayne Tiffany
If I remember correctly, Mike Wilson did some Macro Feature work back when it came out - might be his.
WT
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.