Parameters
Parameters
(OP)
I work with inventor 11 and i have a question about Iproperties. I know how i can get an width en length value in the properties, but i wander if I can combine the to values in one parameter.
Example:
lengte: 400 mm
width: 200 mm
My_new_parameter= "400x200mm"
Is it possible to create the "my_new_parameter" with the lengte and width combined?
Example:
lengte: 400 mm
width: 200 mm
My_new_parameter= "400x200mm"
Is it possible to create the "my_new_parameter" with the lengte and width combined?





RE: Parameters
Typically like this -
Dim strWidth As String
Dim strLength As String
Dim strSize As String
strWidth = "200"
strLength = "400"
strSize = strWidth + " x " + strLength
oCustomPropSet.Item("Sheet Size").Value = strSize
RE: Parameters
ps: My width and heigth are a dimmension?
I don't have any experience in write an macro or vba. I have experience in some other program language.
RE: Parameters
Most people currently use VB6 to write add-ins.
RE: Parameters
RE: Parameters
With respect to this forum, you'd be better off using Autodesk's Inventor Customisation forum where you can get responses from Autodesk staff and independent Inventor guru's.
People will also expect you to read the Inventor help files and the samples provided with Inventor.