Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

create a reference from a selected edge

Status
Not open for further replies.

josephv

Mechanical
Oct 1, 2002
683
Hello,

We are stumped with the following issue.

We would like to use edges for different APIs like hybridShapeRotate, which uses references.

How can one create a reference from a selected edge?

We tried:

CreateReferenceFromGeometry (this works well with lines, but not edges)
CreateReferenceFromObject (this did not work)
CreateReferenceFromName (this appears to create a reference, but hybridShapeRotate does not accept it)
CreateReferenceFromBRepName (this works in a hard coded macro, but we don't know how to get the Brep name from an edge)

Please forward your comments or suggestions.


Cheers,

Joseph
 
Replies continue below

Recommended for you

ok.. could not get CreateReferenceFromObject to work with a selected edge, but I found a work around by converting the edge into a line.

Cheers,

Joseph
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor