I am currently developing under VB.Net an automatic part generation software and to do so I would need to know if a named dimension exists but no way to find this in the solidwokrs help is anyone have a lead
Currently I change the rating in this way but no way to know if the change was successful or not :/
Dim swModel As SldWorks. ModelDoc2 = swApp.ActiveDoc
Dim swDim As SldWorks.Dimension = swModel.Parameter("NutThickness@Sketch1")
IfNot swDim IsNothingThen
MsgBox("NutThickness@Sketch1 Find")
Else
MsgBox("NutThickness@Sketch1 Not Find")
EndIf