Is there anything in the API that can access the Feature Manager Filter"
FeatureManagerFilterString Property (IModelDocExtension)
Property FeatureManagerFilterString As String
Dim instance As IModelDocExtension Dim value As String instance.FeatureManagerFilterString = value value = instance.FeatureManagerFilterString
String in FeatureManager design tree filter
Thanks for the reply Sean,
I forgot to mention that I'm using SolidWorks version 2012 SP 5.0.
Should the following code produce an action or result?
Set swApp = _Application.SldWorks
Set Part = swApp.ActiveDoc
Dim instance As IModelDocExtensionDim swvalue As String
Set instance = Part.Extensionswvalue = "boss"
instance.FeatureManagerFilterString = swvalue
the method is from 2009, so it should be in 2012. but ive tested the method on 2013. the value is set, but I can't seem to update the feature manager tree. UpdateFeatureTree Method (IFeatureManager) erases the value. maybe someone else has some idea.
I had the same results on 2013 and 2014
Retrieving data ...