Can not find the get_Element API

Can not find the get_Element API

Anonymous
Not applicable
477 Views
1 Reply
Message 1 of 2

Can not find the get_Element API

Anonymous
Not applicable

I am following the process of getting floor elements from the link below.

 

http://thebuildingcoder.typepad.com/blog/2008/10/slab-boundary.html

 

So I kind of figuring out the document is changing to commandData.Application.ActiveUIDocument.Document;

 

but still I can not find the 

 

doc.get_Elements( typeof( Floor ), floors );

 

by calling the function of  get_Elements.

 

Is it changed? How can i get the floor elements?

 

Thanks

0 Likes
478 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Look at the updated version of the CmdSlabBoundary command in The Building Coder samples official repository:

 

https://github.com/jeremytammik/the_building_coder_samples

 

https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/C...

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes