PrasannaNX
Automotive
Hi,
I am using Catia VBA Editor for finding the coordinates of a point in drawing view.
For some reason "GetCoordinates" method of Point2d object doesn't return anything in VBA.
The same is working fine with C#.
Exact issue as mentioned in this thread:
Alternatively:
Manually i tried using "Measure Item" in Catia and selected the point in drawing view which gives me the Coordinates of the point relative to the view.
How do i automate Measure Item" in Drawing Document.
Measurable.GetMeasurable(CATIAReference iMeasuredItem) needs CATIAReference as parameter.
How can i create CATIAReference for an object in drawing document?
Like in PartDoc "Partdocument.Part.CreateReferenceFromObject"
How do i get in DrawingDoc "Drawingdocument.?"
Thanks,
Prasanna M
I am using Catia VBA Editor for finding the coordinates of a point in drawing view.
For some reason "GetCoordinates" method of Point2d object doesn't return anything in VBA.
The same is working fine with C#.
Exact issue as mentioned in this thread:
Alternatively:
Manually i tried using "Measure Item" in Catia and selected the point in drawing view which gives me the Coordinates of the point relative to the view.
How do i automate Measure Item" in Drawing Document.
Measurable.GetMeasurable(CATIAReference iMeasuredItem) needs CATIAReference as parameter.
How can i create CATIAReference for an object in drawing document?
Like in PartDoc "Partdocument.Part.CreateReferenceFromObject"
How do i get in DrawingDoc "Drawingdocument.?"
Thanks,
Prasanna M