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

Convert a polyline to region

3 REPLIES 3
Reply
Message 1 of 4
OCODER
5856 Views, 3 Replies

Convert a polyline to region

Hi all

 

Any one know how to convert the polyline to region?.

Or in other words, how to create a region from a polyline?.

 

Thanks for all.

3 REPLIES 3
Message 2 of 4
norman.yuan
in reply to: OCODER

If you look at the Region class in the Object Browser, you could see that Region class has a static method CreateFromCurves(), which you can use to create one or more Region objects from a collection of Curves, including Polyline, of course.

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 4
SENL1362
in reply to: OCODER

see this TT sample:
http://www.theswamp.org/index.php?topic=43572.5;wap2

 

Are you willing to tell us what you want from a Region?

1. For inside/outside tests there are some alternatives.

2. For other geometric calculations see Gile's Geometry Extensions: http://www.acadnetwork.com/index.php?topic=19.0

 

 

Message 4 of 4
OCODER
in reply to: SENL1362

Hi SENL 1362
I want it for the first option.
But my problem was solved.
Thank your for your care.

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