Jump to content

Recommended Posts

Posted

I have a series of mesh coordinates which I want to enter as values after starting the 3D Mesh command.

 

I have typed out all my coordinates as a list in notepad and I know that if I save it I can enter in scripts at the cursor or command in ACAD and search for the files. Or at least this is what I think I know

 

Trouble is I'm not too sure what file type to save it as in notepad. Can anyone help me with this plz?

Posted

Can you initiate the command and just copy-paste the whole list of coords?

Posted

nope If I try to copy paste the whole list it just says invalid entry

 

I did try something similar the only problem was I had to enter each coordinate individually. The problem with this is there is no going back when I make a mistake and as Iv 63 individual coordinates to enter It can be a bit frustrating when I almost finish and make a mistake.

Posted

63 individual coordinates! are you makig a topo map or something:)

 

you can do it as a script (.scr) but it may get complicated.

 

when using script each line of your text file(will actually be a *.scr) will need to satisfy the command prompt.

 

for instance.

 

3dmesh

2

2

0,0

1,1

2,2

3,3

 

so you have your command(3dmesh), then it prompts you for size of mesh in M direction(2), size of mesh in N direction(2), then each line after is your 4 coordinates. Depending on how you have your file setup this may be simple to setup or it may be very complicated. Im sure there are other ways to do this but i know the script will work.

 

good luck

Posted

If you paste the coordinates into the command line, *when prompted for them after starting the 3dmesh command*, it should work. As long as it's in Notepad, with an "enter" character or space between each coordinate.

 

For example,

 

Command: 3dmesh

Enter size of mesh in M direction: 6

Enter size of mesh in N direction: 6

Specify location for vertex (0, 0): (now paste in coordinate list)

Posted

oh yeah after you created your .scr file and save it, in acad go to tools and find Run Script, or you can type SCRIPT into you command line. It will bring up a window to allow you to search for your script file location.

Posted

.scr thanks for that Iv got it working.

 

Im not building no topo map lol its supposed to be a mouse apparently. Im working from a textbook for my course and it tells me to add the coordinates by creating this script manually or to use the one provided for me.

 

Me been me im not one for just using something that has been provided for me

Posted

did you get it working with the scr or did you use some other method?

 

just curious:)

Posted

I got it working with the scr

 

entered SCRIPTS then browsed for my .SCR file

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...