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

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

d_stapleton
Contributor Contributor
201 Views
1 Reply
Message 1 of 2

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

d_stapleton
Contributor
Contributor

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

0 Likes
Accepted solutions (1)
202 Views
1 Reply
Reply (1)
Message 2 of 2

d_stapleton
Contributor
Contributor
Accepted solution

I finally found it!       

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