Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

HybridShapePointCoord.RefAxisSystem problem

Status
Not open for further replies.

itsmyjob

Mechanical
Apr 11, 2002
2,375
CA


I have a Coord point with a Reference Axis system. I would like to remove that Ref Axis System

Code:
Dim oPT As HybridShapePointCoord

Set oPT = CATIA.ActiveEditor.Selection.Item(1).Value

oPT.RefAxisSystem = Null



does not work. I also try to declare a Ref then pass the empty Ref object to the oPT.RefAxisSystem but error again...



Does someone know how to remove the axis Ref? VBA or EKL is welcome. Using 3DX2016X


Eric N.
indocti discant et ament meminisse periti
 
Replies continue below

Recommended for you

and then redefine it with its own coordinates? if links follow i don't mind which way... i will see

Eric N.
indocti discant et ament meminisse periti
 
manually when I Isolate the point and bring it back with coordinates, the refaxis comes back...

Eric N.
indocti discant et ament meminisse periti
 
This may not be optimal, but would setting all Axis Systems in the Part as 'Not Current' before be a viable solution?
 
i ll try, but are are looking into opening a SR now...

Eric N.
indocti discant et ament meminisse periti
 
Eric, what do you expect to happen to the point once you've removed its ref axis system? If this is done interactively, the Default Axis system is proposed automatically.
I'm thinking setting to Null/Nothing doesn't make sense as it needs a ref axis system (cause that's the type of object: HybridShapePointCoord).
For this reason I don't think it is possible to remove it but to set it to something else (other axis system).
 
have a look at a HybridShapePointCoord object with no reference axis

Eric N.
indocti discant et ament meminisse periti
 
I understand now.

Property RefAxisSystem( ) As Reference

Returns or Sets the reference Axis System for PointCoord feature.
This data is not mandatory, if element is null, the absolute axis system is taken.

It should have said: "...if element is not specified"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top