News:

Please remember to do a search before you ask a question!

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.

Parametric part

Started by esger, July 26, 2014, 10:13:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

esger

Made a parametric part.
Unfotunately I cannot give names to the dimensions.

As I  right click on a measure in the selectioninfopanel I do not get the pop up "Set Part Parameter".
Herman Olthuis
TC18.2 Pro  32 bit  Built 73.1
TC21.2 Pro  64 bit  Built 59.0
Windows7   8GB Home Premium
NVDIA Forceware 260.99

Dean

Quote from: esger on July 26, 2014, 10:13:36 AM
Made a parametric part.
Unfotunately I cannot give names to the dimensions.

As I  right click on a measure in the selectioninfopanel I do not get the pop up "Set Part Parameter".

Hi esger,
You can’t change the name of it because it’s a “value” >
In creating the PP You can create a name for the “insert parameter”, which drives the value.
This will be visible in the info palette when you select the PP.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

nikkipollard

#2
This is how I create a parametric part.

first of all go to options , constraints
tick show variable name in dim text - If you do this you will know if the dimension is actually a constrained dimension before creating the part. There are times when a dimension isn't a constrained dimension and you only realise when you are already halfway through defining your parameters.
Once you have drawn the geometry and dimensioned it hit F2 and rename the variables. I do this because when you use the parametric part if your variables have the default names they change in the calculator palette when you change the values in the part and confuse the computers brain.

If you have added formulas in the formula column. You need to make a note of them and delete them before creating your parametric part.
Once all of this is done then go to Format parametric part
Go down to the dimensions you want to use as parameters
find constraints
and right click on value
and an option to give a name should pop up.
once you hit finish you can put the formulas you deleted in the dialog box

Some other things that I have noted when creating parametric parts

The parametric part editor doesnt work and causes TC to crash so should not be used. Rather insert the part and use the dialog box in the selection info palette to edit the part.
If you are creating 3D parametric parts only dimension after the model is built up. For some reason 3d add and 3d subtract dont work if you dimension the 2d objects before creating the part.

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Torfinn

Quote from: nikkipollard on July 26, 2014, 10:54:38 PM
"
The parametric part editor doesnt work and causes TC to crash so should not be used. Rather insert the part and use the dialog box in the selection info palette to edit the part.

Hi Nikki
The Parametric Part Editor work like a charm :)
PP and PPM is 2 different kind of system and can't be mixed if that's what you try to do when TC crash
I will put out the last ppm i have worked on in the PPM section

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

nikkipollard

Torfinn I am not referring to the sdk parametric part editor.
It seemed that Esger was creating a parametric part using format parametric part.
That editor definitely does something weird.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Dean

Quote from: nikkipollard on July 27, 2014, 07:22:12 AM
Torfinn I am not referring to the sdk parametric part editor.
It seemed that Esger was creating a parametric part using format parametric part.
That editor definitely does something weird.

Hi Nikki,
can you give more details? (keep it simple) defining "weird" I'm using V21 platinum.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Torfinn

Quote from: nikkipollard on July 27, 2014, 07:22:12 AM
Torfinn I am not referring to the sdk parametric part editor.
It seemed that Esger was creating a parametric part using format parametric part.
That editor definitely does something weird.

Ok, that explane it, because when i use ppm editor the only time it crash TC is when i do something stupid or hit run instead of save button  ::)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

nikkipollard

#8
Dean I don't need it fixed. I just don't use it because it corrupts parts. The dialog box in the SI palette doesn't do this.


It probably doesn't affect small parametric parts.
But when they get complex with 2 or 3 smaller parts nested within each other- like the video then it corrupts the parts.

"Weird"=The parameters get changed and the inserted part looks odd
See the attached file
If you examine the second parametric part through the SI you will see that the sash parameters have all been changed to the same number.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

esger

Thanks everyone for all advices.
This problem with PP is solved someway.

I have a new problem with PP I'll mention it in a new topic.
Herman Olthuis
TC18.2 Pro  32 bit  Built 73.1
TC21.2 Pro  64 bit  Built 59.0
Windows7   8GB Home Premium
NVDIA Forceware 260.99

Dean

Quote from: nikkipollard on July 27, 2014, 05:11:39 PM
Dean I don't need it fixed. I just don't use it because it corrupts parts. The dialog box in the SI palette doesn't do this.


It probably doesn't affect small parametric parts.
But when they get complex with 2 or 3 smaller parts nested within each other- like the video then it corrupts the parts.

"Weird"=The parameters get changed and the inserted part looks odd
See the attached file
If you examine the second parametric part through the SI you will see that the sash parameters have all been changed to the same number.

Hi Nikki,
Dimensional constraints (especially Smart Dimensions) can flip the direction of a vector’s “X” axis whose direction is going towards the negative and if you have many other different types of constraints the results can end up like your part. If you use an orthogonal dimension on one of these vector’s the start point of the dimension signifies the end direction,it can follow or overrule the vector’s direction.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

nikkipollard

#11
its not that
Do a small test with nested parametric parts and you will see what I mean. No negatives. Just the same number for all the parameters.
here is an example to try with

parametric part "test1" is nested in "test3"
This is what I do to reproduce the bug.

go to
format parametric part
click the edit ex pp icon
click on test 1
edit parameters
finish flag
in the formula column next to x type  current("x")+copy*(150)
next to copies type 4
finish
does test one look different to test 2? it shouldnt I havent changed any parameters

now insert parametric part test 3

Now see what I wanted my parametric part to look like

"test 2" is nested in"test 4"

insert
parametric part
test 4

select test 4
in the selection info palette click on test 4
then go down to test 2
click the plus next to symbol parameters
click on the icon next to symbol parameters to bring up a dialog box
in the instance formula column next to x type     current("x")+copy*(150)
next to copies type 4
then OK


has "test3' changed appearance?
look at the difference between test 3 and test 4.

if you look at the parameters of test 1 you will notice that the formula next to x has disappeared and all the parameters have changed to the same dimension. Thats weird and I dont think user error

play with the same parametric part and the editor and see how it changes parameters every time
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Dean

#12
Quote from: nikkipollard on July 28, 2014, 08:35:59 PM
its not that
Do a small test with nested parametric parts and you will see what I mean. No negatives. Just the same number for all the parameters.
here is an example to try with

parametric part "test1" is nested in "test3"
This is what I do to reproduce the bug.

go to
format parametric part
click the edit ex pp icon
click on test 1
edit parameters
finish flag
in the formula column next to x type  current("x")+copy*(150)
next to copies type 4
finish
does test one look different to test 2? it shouldnt I havent changed any parameters

now insert parametric part test 3

Now see what I wanted my parametric part to look like

"test 2" is nested in"test 4"

insert
parametric part
test 4

select test 4
in the selection info palette click on test 4
then go down to test 2
click the plus next to symbol parameters
click on the icon next to symbol parameters to bring up a dialog box
in the instance formula column next to x type     current("x")+copy*(150)
next to copies type 4
then OK


has "test3' changed appearance?
look at the difference between test 3 and test 4.

if you look at the parameters of test 1 you will notice that the formula next to x has disappeared and all the parameters have changed to the same dimension. Thats weird and I dont think user error

play with the same parametric part and the editor and see how it changes parameters every time

I see what’s happening Nikki, the BUG appears to be with the’copies” function. I tested my own file and got the same results from version 18 through 21. When the functions were added to the nested PS via the selection info palette everything worked. I wonder what the  ???chances are of this being fixed. Just another dysfunctional tool in Tcad…… :P BUT as always there's a workaround . Have you mentioned this to support?
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

nikkipollard

No the only reason I mentioned it here. Is because once I figured out how to get this to work - with the help of Torfinn - Turbocad became so much more powerful to me.
The only place that mentions that you can do this is Daves video.
I think that all that really needs to happen is the video gets changed.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h