SolidWorks API - accessing feature
SolidWorks API - accessing feature
(OP)
Hi,
I have part inside assembly and I am trying to access feature of part inside assembly and suppress it or unsuppress it based on some conditions.
I tried with (example)
swFeature = swModel.Parameter("featureName@partName.sldprt")
booleanValue = swFeature.ISetSuppression2(1,2,1,"Default")
but I could not run it. Does anyone know is it even possible to do it this way (through parameter)or I need to use some other way.
And by the way I am using VisualBasic .Net as language.
Thanks!
I have part inside assembly and I am trying to access feature of part inside assembly and suppress it or unsuppress it based on some conditions.
I tried with (example)
swFeature = swModel.Parameter("featureName@partName.sldprt")
booleanValue = swFeature.ISetSuppression2(1,2,1,"Default")
but I could not run it. Does anyone know is it even possible to do it this way (through parameter)or I need to use some other way.
And by the way I am using VisualBasic .Net as language.
Thanks!






RE: SolidWorks API - accessing feature
-handleman, CSWP (The new, easy test)
RE: SolidWorks API - accessing feature