extracting polyline coordinates in c#

extracting polyline coordinates in c#

Anonymous
Not applicable
1,389 Views
1 Reply
Message 1 of 2

extracting polyline coordinates in c#

Anonymous
Not applicable
I am using the BlockTableRecordEnumerator to read through entities in model
space
This extracts the objectID and Handle
How do I determine the entity type and extract the coordinates if the entity
is a line, text, polyline etc.?
0 Likes
1,390 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Based on your question, it's reasonable to infer that you're just starting
out with AutoCAD .NET programming. Please have the consideration to make
that clear, as it matters.

Download the documentation and training materials here:

http://images.autodesk.com/adsk/files/autocad_2010_dotnet_training.zip

Visit the online documentation at the link below for some basic examples
that demonstrate the basic usage of the API.

http://www.autodesk.com/autocad-net-developers-guide

As far as your specific question, you haven't even bothered to mention what
programming language you're using, but in any case, determining the type of
a variable is something that falls within the prerequisite of having basic
working knowledge of the programming langauge you're trying to use, so you
probably need to also work on that as well:

http://msdn.microsoft.com/en-us/beginner/default.aspx

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

"nick" wrote in message
news:6295243@discussion.autodesk.com...
I am using the BlockTableRecordEnumerator to read through entities in model
space
This extracts the objectID and Handle
How do I determine the entity type and extract the coordinates if the entity
is a line, text, polyline etc.?
0 Likes