.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get Layer Name of Entity from Dimension

1 REPLY 1
Reply
Message 1 of 2
daydream17
343 Views, 1 Reply

How to get Layer Name of Entity from Dimension

Hi

 

I'm just wondering there is an API getting the layer name of Entity from Dimension.

 

For example(Function)

<1> Get both "Point2D" of selected dimension

<2> Search "Entity" sharing "Point2D" of <1>

<3> Get "Layer" name of Entity <2>

 

Is there any way to do this

 

 

Thanks.

1 REPLY 1
Message 2 of 2

What the primary goal here? Maybe there is an alternative way to do it...

 

In this case, from the point location, the easiest way is get all objects around that point using selections, then check which of them are dimensions, then get the respective layer.

 

Is that what you want?

Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost