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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing: Referenced Model is weird

  • Thread starter Thread starter marty_b
  • Start date Start date
M

marty_b

Guest
Hello,

i'm trying to automatically generate a drawing from a 3d-model. I use a template and replace the referenced document with
Code:
ReplaceReferencedDocument
. The problem is that i now want to add a few dimension. I'm trying to do this by using
Code:
PartDoc.GetEntity
and
Code:
View.SelectEntity
.

Now the weird part: Although the view is shown correctly, the selection is somewhere else, near the origin of the 3d-model. Also the part is rotated 90° (i can tell this from the selection), and therefore the dimension is absolutley wrong.

I don't know what to do, and thought maybe one of you have some ideas to solve this issue :)

Thanks
 

Part and Inventory Search

Sponsor

Back
Top