Jump to content


Creating Lines from excel/text file


3 replies to this topic

#1 Dirk_1

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 20 July 2020 - 06:51 PM

Hi all, I am struggling with importing xy lines into Nanocad, it doesn't seem as though I can just save a text file as a .scr like in draftisght or autocad.
I have a pretty basic set (but a large quantity) of xy coordinates I would like to draw as lines. I can manually enter the line command followed by my points but I have 16.5k lines to enter.
My question is if a visual basic script already exists to import lines or some help developing one. I also might be skipping over an even easier solution so please let me know.

An example of how my excel lines look:
0,1 -0.2773501,0.5839748 0,2 0.2773501,1.583975 0,3 -0.2773501,2.583975
all in one column.

I am not a well versed programmer and have tried to see if this nancad dev. guide will help without much luck.
http://developer.nan...lassic-net-api/

#2 pguimber

    Advanced Member

  • Members
  • PipPipPip
  • 387 posts
  • LocationFrance - Maine et Loire

Posted 21 July 2020 - 11:11 AM

Hello,
maybe, it would be necessary to look in the existing LISP, to adapt one if necessary.

#3 Dirk_1

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 July 2020 - 12:00 PM

pguimber, where would I be able to find a guide using LISP? It is something I am completely new to.

#4 pguimber

    Advanced Member

  • Members
  • PipPipPip
  • 387 posts
  • LocationFrance - Maine et Loire

Posted 24 July 2020 - 05:47 AM

Hello,
see in Web, for exemple :
https://www.developpez.com/
https://www.cours-gr...com/cours-lisp/

English or french and other...
I'm not expert in Lisp, only curious!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users