dear all
i want to use SolidWorks API to change the rotate angle of move/copy feature,shown as below
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set moveCopyFeat = Part.FeatureByName("实体-移动/复制1")
Set moveCopy_featData = moveCopyFeat.GetDefinition
copycount = moveCopy_featData.GetBodiesCount
boolstatus = Part.EditRebuild3()
Part.ClearSelection2 True
End Sub
in fact ,i don't know how to change or Reset the relevant parameters in feature mainly because i couldn't get these parameter name .
for instance ,in sketch ,it's easy to get the name by record macro file "part.Parameter("D1@" & "曲面-扫描1@CLK-1")"
while when i modify parameters in feature ,for example ,the rotate angle mentioned above , the macro couldn't record this process ,which lead to the difficulties for me to modify the parameters that i need to change .
many thanks