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
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