1 Answers
A:
Step-by-Step API Flow
Dim oCurveSeg As DrawingCurveSegment = ' selected segment from HitTest or Balloon
Dim oCurve As DrawingCurve = oCurveSeg.Parent
Dim oModelGeom As Object = oCurve.ModelGeometry
' If it's a FaceProxy, EdgeProxy, etc., you can get the occurrence:
Dim oOccurrence As ComponentOccurrence = oModelGeom.ContainingOccurrence
This gives you the actual occurrence in the assembly that the drawing curve represents—not just the document reference. </
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