Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pushing #'s from an array into a sketch and update.

1 REPLY 1
SOLVED
Reply
Message 1 of 2
d_stapleton
138 Views, 1 Reply

Pushing #'s from an array into a sketch and update.

I have been searching for the right logic, but I have not had any luck.  What I am trying to do is to use a parameter change to pull numbers out of arrays that I have programmed in and have those numbers replace numbers in a sketch to change the parts.  Can someone point me to the right logic. 

 

Thanks

Dan

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

I finally found it!       

	Dim sketchDim3 As Double = BArray(0)
	Dim sketchParam3 As Parameter = oSketch.DimensionParameters.Item("B_Diameter")
	sketchParam3.Expression = sketchDim3.ToString()

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

Post to forums  

Autodesk Design & Make Report