Hello,
I'm trying to set the name of each plane I create. The code below doesnt work because the current selection is plane1 (I thought when you created a plane it would automatically be selected). How do I set the name of a plane I just created?
For i = 1 To layers Part.CreatePlaneAtOffset3 layerPitch * (i - 1), False, True Set Model = swApp.ActiveDoc Set SelMgr = Model.SelectionManager Set feature = SelMgr.GetSelectedObject5(1) feature.Name = "test" & i Next i