News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Bug with parametric parts

Started by Stephen McGarry, August 15, 2009, 05:39:25 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Stephen McGarry

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]
Using Turbocad 21 Platinum 64Bit (Build 50.0) on W10Pro 64Bit (using TC since V9)

Stephen McGarry

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]
Using Turbocad 21 Platinum 64Bit (Build 50.0) on W10Pro 64Bit (using TC since V9)