Revit API

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

location of a linked CAD

354 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 (353 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 (181 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: 162
Registered: ‎04-01-2011
Message 4 of 5 (175 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 (160 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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.