Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Multivalue list for iPart selection

1 REPLY 1
Reply
Message 1 of 2
AbellS
693 Views, 1 Reply

iLogic Multivalue list for iPart selection

Hi,

I have a form with a multi value selection containing name vaules from an iPart.

I want to make a selection from the field in my form and swap out my iPart in the assembly for my selection. 

 

I thought that something like:

Dim iFactory As String

MulitValue.SetListInComponent ("FileName:1", "Param name", "list of params.......")

Parameter("FileName:1", Param name") = "PK 407"  'could be any thing selected from the list of params..

iFactory=Param name

iPart.ChangeRow("iPart Factory File Name:1", iFactory)

 

Such that the part would be swaped out for what ever Param name = as a result of user selection.

I get the following error from this: Object reference not set to an instance of an object.

 

1 REPLY 1
Message 2 of 2
AbellS
in reply to: AbellS

way over thinking this... please disregard. and thanks anyways

Spoiler
 

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

Post to forums  

Autodesk Design & Make Report