Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Oct 1, 2002
Messages
683
Location
CA
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
 
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

Back
Top