Getting attributes from import CAD block

Getting attributes from import CAD block

Anonymous
Not applicable
2,871 Views
3 Replies
Message 1 of 4

Getting attributes from import CAD block

Anonymous
Not applicable

Hello people,

I came from this post:

https://forums.autodsk.com/t5/revit-api-forum/reading-cad-linked-object/td-p/7063811

 

Finally we are able to get blocks from an imported cad file into our model... now, I would like to get block attributes. Using the method GetInstanceGeometry I only can access to the "lines" that form a block, and not the attributes.

 

Anyone found something useful???

 

Thanks in advance!

 

 

 

2,872 Views
3 Replies
Replies (3)
Message 2 of 4

matthew_taylor
Advisor
Advisor

Hi @Anonymous,

See this post:

https://forums.autodesk.com/t5/revit-api-forum/get-to-text-objects-within-imported-dwg/m-p/5344375#U5344375

It is being discussed at the moment. It refers to text, but I would imagine attributes are treated similarly.


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
0 Likes
Message 3 of 4

Anonymous
Not applicable

Have you found a solution?

0 Likes
Message 4 of 4

jeremy_tammik
Alumni
Alumni

Read the thread that Matt pointed out; it describes various workarounds.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes