Message 1 of 3
Create a Parameter with ilogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to create a parameter and add information to the parameter with ilogic.
I've attempted Parameters.UserParameters.AddByValue("MAT'L", 1) but it errors out.
If Not ParameterExists("MAT'L") Then '
Parameters.UserParameters.AddByExpression("MAT'L", Value:=0, Units:="") ' Parameters.UserParameters.Item("MAT'L").Value = 1
End If
Any ideas? I want to copy rules to parts that carry over a material list and a hardness for each material. I tried to use the material library but there I cannot figure a way to have the material and hardness show up on title blocks.
The idea of having it in ilogic as well is so i can post the rule in old parts too and easily file through and find the right material in the parameter list.