Hi ,
I have on issue regarding Solid Works API function Get parents inSW 2008 ,
but in earlier version it was working fine .
I am sending a part of Code :-
Dim oPartDoc As SldWorks.ModelDoc2
Dim otempFeat As SldWorks.Feature
Dim vFeatArr As Variant
Public Const ATTRIBUTENAME As String = "VESTATTRIBUTEEMBOSS"
Dim i as integer
i=1
Set oPartDoc = AppSldWorks.ActiveDoc
Set otempFeat = oPartDoc.FeatureByName(ATTRIBUTENAME & i)
vFeatArr = otempFeat.GetParents()
>>> For Programing point of View if any furtherinformation required plz. inform us . We are attaching attributewith Partdocument for creating the feature and extracting thefeature from Attribute sets for modification purpose .
vFeatArr is always return nothing but upto SW2007 it was workingfine .
Is there any changes in API , SW2008 version .
Plz. let us know , very very urgent .
Thanks
Prasenjit
SolidworksApi macros
I have on issue regarding Solid Works API function Get parents inSW 2008 ,
but in earlier version it was working fine .
I am sending a part of Code :-
Dim oPartDoc As SldWorks.ModelDoc2
Dim otempFeat As SldWorks.Feature
Dim vFeatArr As Variant
Public Const ATTRIBUTENAME As String = "VESTATTRIBUTEEMBOSS"
Dim i as integer
i=1
Set oPartDoc = AppSldWorks.ActiveDoc
Set otempFeat = oPartDoc.FeatureByName(ATTRIBUTENAME & i)
vFeatArr = otempFeat.GetParents()
>>> For Programing point of View if any furtherinformation required plz. inform us . We are attaching attributewith Partdocument for creating the feature and extracting thefeature from Attribute sets for modification purpose .
vFeatArr is always return nothing but upto SW2007 it was workingfine .
Is there any changes in API , SW2008 version .
Plz. let us know , very very urgent .
Thanks
Prasenjit
SolidworksApi macros