×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

create a reference from a selected edge

create a reference from a selected edge

create a reference from a selected edge

(OP)
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

RE: create a reference from a selected edge

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources