cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API Improvement

API Improvement

Have been struggling to learn to take advantage of the API programming interface. Have gotten tons of help from Brian Ekins at Autodesk, thanks Brian for your patient help and guidance. I've been working to add user parameters to existing part files without opening each and manually typing them in. One of the parameters is for material which is a "Multi value list". What I need is a way to activate the "Allow custom values" feature for parts that are not

a standard material. Brian says he doesn't think this can be done at the present time so I should suggest it here. Consider it suggested. I would like this feature to be added to the API or as a default setting for "multi value list" feature of parameters.

5 Comments
Curtis_W
Consultant

got a link to a thread where this is discussed? As written the idea is not real clear, I think the link(s) might help clarify.

 

Anonymous
Not applicable

Curtis,

   No links that I know of. I'll try to be more clear.

When I make a parameter with a "Multi Value List", I would enter all foreseeable options. This would be the same for units or text values. After entering all of your values for the "Multi Value List", under the list is a checkbox option to " Allow custom values". Brian says he know of know way to "activate" that option thru the API programming interface. So what I am asking is to either add that ability to the interface or to make it a default setting when creating a "Multi Value List" in parameters. I hope that is clear enough for all to understand. I haven't seen any other threads where this has been discussed.

 

 

Frank

 

Inventor 2017

DRoam
Mentor

Basically, the OP wants a method to access/control the "Allow custom values" setting for a multi-value list Parameter via API/iLogic.

 

Also, here is a link to where this was discussed: Adding Parameters with iLogic (and here is Brian's explanation for the missing API setting).

Anonymous
Not applicable

Let me just say this about that. Smiley Wink If you are making a parameter value a multi list, perhaps the default setting should be to automatically allow custom values. Why else make a parameter value a multi list in the first place. It's not like making the multi list custom value default would affect anything anyway, right? Hope you all have a wonderful Friday and a great weekend.

Anonymous
Not applicable

Actually... it is there.... as an Attribute on the Parameter... 

(a single Value Parameter doesn't have this Attribute)

BR,

Daniel

 

2017-03-14_14h00_53.png

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea