Revit API

Reply
Distinguished Contributor
a7v1n
Posts: 216
Registered: ‎10-02-2008
Message 1 of 5 (355 Views)

location of a linked CAD

355 Views, 4 Replies
02-17-2011 03:28 PM

Hi. I need to find the coordinates of the insertion point of a linked CAD file. Is there any way to do this? Thanks!

Distinguished Contributor
a7v1n
Posts: 216
Registered: ‎10-02-2008
Message 2 of 5 (354 Views)

Re: location of a linked CAD

02-17-2011 03:45 PM in reply to: a7v1n

the location should be w/ respect to the 0,0 coordinate. Thanks!

Active Member
david.rock
Posts: 9
Registered: ‎04-20-2007
Message 3 of 5 (182 Views)

Re: location of a linked CAD

02-28-2012 10:50 PM in reply to: a7v1n

Any luck on this?

I cannot find any way of finding the location and rotation of a linked cad file. Any help would be really appreciated.

 

Thanks

David

 

Mentor
ollikat
Posts: 164
Registered: ‎04-01-2011
Message 4 of 5 (176 Views)

Re: location of a linked CAD

02-29-2012 10:03 PM in reply to: david.rock
Contributor
david.rock
Posts: 11
Registered: ‎04-02-2003
Message 5 of 5 (161 Views)

Re: location of a linked CAD

03-05-2012 07:34 PM in reply to: a7v1n

Thanks for the hint.

 

However I am getting null for the line

 

GeometryElement gElem = inst.get_Geometry( opt );

 

Still trying.

Regards

David

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!