Jump to content
omandgulf

Import polygons from excel

Recommended Posts

omandgulf

Hi

 

I have an excel file with a column containing polygon vertices like follows:

 

Row 1 x-Cord1|y-Cord1 x-Cord2|y-Cord2 x-Cord3|y-Cord3....

Row 2 x-Cord1|y-Cord1 x-Cord2|y-Cord2 x-Cord3|y-Cord3....

Row 3 x-Cord1|y-Cord1 x-Cord2|y-Cord2 x-Cord3|y-Cord3....

.........

 

I am looking for a .Net code that can read each row cell and draw the polygons automatically in AutoCAD window. I am having a bout 100 rows (polygons) and hence I prefer that the code will display all polygons at once in AutoCAD window and not draw them one by one.

 

I am already having Autolisp code to draw them one by one but I wish to have a .Net code to allow batch polygons drawing instead.

 

Thanks a lot for any assistance

Share this post


Link to post
Share on other sites
omandgulf

Yes right, I have duplicated the thread in another two forums with the aim to get faster response.

Share this post


Link to post
Share on other sites
BlackBox
Yes right, I have duplicated the thread in another two forums with the aim to get faster response.

 

For completeness, from here:

 

That's great... For you... And only in theory.

 

I posted that in an effort to be respectful of others' time... Which is often wasted when one posts duplicate threads in such a close time frame... So that others' do not needlessly post a suggestion that has already been provided you elsewhere, resulting both in wasted effort on their part (unknowingly), and your frustration due to not solving the issue (unwittingly).

 

In reality... It can't be that pressing of a matter if you're relying on forums responses to help you learn / solve your issue, so perhaps it would be prudent to give it while before duplicating your future threads in multiple forums.

 

Good luck.

 

Completely agreed :)

Share this post


Link to post
Share on other sites
omandgulf
For completeness, from here:

 

Thanks BlackBox for your important note , I really appreciate what you have said. Such is quite useful for junior forum users like me to realize.

Share this post


Link to post
Share on other sites
BIGAL

Whats wrong with creating then one after another main thing is to not do a regen or zoom till finished. the .Net code will make them pretty quick.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...