Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
d_stapleton
161 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

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()