Hi all, I have this weird question because I created a law in my part that launches a CATscript macro. This law is automatically evaluated when the parts opens (during its opening).
By the way this is exactly what appvid was trying to do in this topic : thread560-364824 (I can explain that in...
Hi, so here's the thing : I wrote a code that is supposed to give me the inertia (and it does get the inertia object) of a body and then retrieve the center of gravity and inertia matrix values. I followed the help and as I said I can get the inertia object. However in my code, I'm unable to use...
Hi,
I've been able to create a law with VBA code and add Length parameters. However I need to use a VOLUME parameter and it doesn't work.
I can do it manually (create the law and manually add the volume formal parameter) and my law is working. However when I do it with VBA, it seems that I can...
Hi all,
I'm writing a macro to create a few user properties and one of the properties must have a formula to get the material name.
When you add a material to a part, a parameter is created name "Material". You can can easily create a formula inside a user property (in this case a string...
Hi all,
I created a VBscript (CATVBS file) that works fine to recover the mass of a part and put it inside a custom mass parameter.
I noticed that in parameter formulas it should be possible to run a specific script with the command VBscript->Run(). However I don't understand how it works. I...