Skip to main content
1-Visitor
March 17, 2017
Solved

Parameter not defined

  • March 17, 2017
  • 1 reply
  • 4111 views

Hello,

I am trying to affect a spool to a wire and in order to do this i need to import a datatable (I use Creo-schematics 3.0)

The problem is that i get an error msg saying that parameter min_bend_radius is not defined

When i try to directly edit the fiber I also can't add this parameter (as well as others : color, ..)

I think it might be a configuration error I made but i didn't find a way to manage it

Images below to illustrate:

2017-03-17_11-21-32.jpg2017-03-17_11-09-08.jpg

Thank you for your help

Ambroise.

Best answer by Kevin

I'm assuming you are trying to use Add a parameter button to create a parameter. This button adds a parameter to an Object Type. To create a new parameter use the New or Import buttons at the top of the dialog. Import allows you import parameters from a parameter .csv file. To use the Add a parameter button you select the Object Type in left window pane, select a parameters or multiple parameters in the Parameter Pool pane (Add a Parameter only becomes active when both the Object Type and Parameter has been selected, and select Add a parameter button. To verify the parameters were added to the Object Type definition select a different Object Type and then re-select the Object Type you added the parameters to.

New Parameter.png

Add Parameters to Object Type.png

Object Type Definition.png

Your .csv file for the wire looks fine, you have the minimum number of parameters needed for the definition.

Add on the Fiber Properties dialog will only add parameters that have already been created in the Global Parameters dialog it doesn't create them if they are missing.

Add Parameters to Fiber Properties.png

If you add the parameters to an Object Type you can set the Object Type in the Fiber Properties and the parameters associated with the Object Type are added.

Add Parameters by Object Type-1.png

Add Parameters by Object Type-2.png

1 reply

1-Visitor
March 17, 2017

Take a look at the Global parameters. The parameters need to be added here before you can import a datatable. Also check the .csv file that contains the datatable info. You also need to look at the shape properties. You should be able to add the parameter if it's created or you could also add the parameters by specifying them as part of an Object Type definition and setting the shapes Type property. If you need to see images I can add those.

aturcat1-VisitorAuthor
1-Visitor
March 20, 2017

Hello Kevin,

Thank you for your answer

I already took a look at the global parameters but i can't add the ones I want (even someting simple as min_bend_radius), plese see picture below :

globalparam.jpg

I think my csv file should be good, but i put a picture in case :

csv.jpg

Also, if i directly edit the parameters by going in the fiber properties, I still can't add the ones i want :

csv.jpg

I sent most pictures I could so that you may see an error hidden somewhere, who knows

I noticed that with the get started tab and using the sample catalog we directly have access to those parameters, so i guess it is something i have to configure but that isn't explained in the tutorial?

Best regards

Ambroise.

Kevin1-VisitorAnswer
1-Visitor
March 20, 2017

I'm assuming you are trying to use Add a parameter button to create a parameter. This button adds a parameter to an Object Type. To create a new parameter use the New or Import buttons at the top of the dialog. Import allows you import parameters from a parameter .csv file. To use the Add a parameter button you select the Object Type in left window pane, select a parameters or multiple parameters in the Parameter Pool pane (Add a Parameter only becomes active when both the Object Type and Parameter has been selected, and select Add a parameter button. To verify the parameters were added to the Object Type definition select a different Object Type and then re-select the Object Type you added the parameters to.

New Parameter.png

Add Parameters to Object Type.png

Object Type Definition.png

Your .csv file for the wire looks fine, you have the minimum number of parameters needed for the definition.

Add on the Fiber Properties dialog will only add parameters that have already been created in the Global Parameters dialog it doesn't create them if they are missing.

Add Parameters to Fiber Properties.png

If you add the parameters to an Object Type you can set the Object Type in the Fiber Properties and the parameters associated with the Object Type are added.

Add Parameters by Object Type-1.png

Add Parameters by Object Type-2.png