1 Answers
A:
Step-by-Step: Access WorkPoints from a Derived Part
Dim oPartDoc As PartDocument = ThisApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition = oPartDoc.ComponentDefinition
For Each oDerivedComp As DerivedPartComponent In oCompDef.ReferenceComponents.DerivedPartComponents
Dim oWorkFeatures As DerivedPartEntities = oDerivedComp.WorkFeatures
For Each oEntity As DerivedPartEntity In oWorkFeatures
If oEntity.Type = DerivedPartEntityTypeEnum.kWorkPointDerivedEntity Then
Debug.Print("WorkPoint: " & oEntity.Name)
End If
Next
Next
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers