TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Bug with parametric parts
Read 1706 times
* August 15, 2009, 05:39:25 AM
Im designing a fence using a parametric script. The script works when loaded but when you change any parameter the script has a bug while using a Mod function (it returns the first parameter unchanged). Could somebody else try the script and see if does the same thing. The text values it inserts should be PostQ=9 and PostLS=900.
Then when you select the fence and change a parameter (i.e. Post width) the script produces a duff fence and gives values of 0 and 18000!!
Ive attached the ppm script as a txt file as the forum doesnot allow ppm files.

Thanks
Stephen


[attachment deleted by admin]

Logged
Using Turbocad 19.2 Pro 64Bit (54.2) on W7 Ultimate 64Bit (using TC since V9)


* August 15, 2009, 01:55:51 PM
#1
I have now nearly finished the script!. It actually only works when loaded in the Parametric Part Script editor and run from there. The script is now in two files (see zip file attached).
I'm quite pleased with the part but it's no good when you cant use it normally.
Anybody tried it!



[attachment deleted by admin]

Logged
Using Turbocad 19.2 Pro 64Bit (54.2) on W7 Ultimate 64Bit (using TC since V9)