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

How to check dashed line when project all edges of faces to a plane.

5 REPLIES 5
Reply
Message 1 of 6
chi_nm
453 Views, 5 Replies

How to check dashed line when project all edges of faces to a plane.

Hi,

 

I have some faces and i want project them to xy plane (Top view).

 

I want to get exterior boundary line of this model. To do this, i will ignore all dashed lines, but i cannot check a line is dashed line or not.

 

Please help me!

5 REPLIES 5
Message 2 of 6
philippe.leefsma
in reply to: chi_nm

Hi,

 

It is not clear to me what is it that you call dashed lines? Are those lines the ones that are supposed to be hidden as a result of the projection or are they actually dashed because of their linetype for example?

 

In order to project entities and remove hidden lines, you need to rely on the Hidden Line Removal API: check the ObjectARX %VERSION%\utils\HlrApi sample for more details.

 

Hope it helps.

 

Regards,

Philippe.

 

 

 



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 3 of 6
chi_nm
in reply to: philippe.leefsma

Thanks leefsma,

 

i want check a line is hidden line in set of lines (after project them to a plane)

 

you can see attachment image to detail.

 

Thanks

Message 4 of 6
philippe.leefsma
in reply to: chi_nm

You need to use HLR API then.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 5 of 6
chi_nm
in reply to: philippe.leefsma

Can I use HLR API in .Net?

 

Please give me an example.

 

Thanks

Message 6 of 6
philippe.leefsma
in reply to: chi_nm

Nope, this API is only available in C++ with the sample I mentionned previously. If you want to invoke it from .Net, you would need to write your own mixed-managed wrapper for it.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
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