kezflake Posted September 24, 2008 Posted September 24, 2008 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? Quote
rustysilo Posted September 24, 2008 Posted September 24, 2008 Can you initiate the command and just copy-paste the whole list of coords? Quote
kezflake Posted September 24, 2008 Author Posted September 24, 2008 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. Quote
shift1313 Posted September 24, 2008 Posted September 24, 2008 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 Quote
CarlB Posted September 24, 2008 Posted September 24, 2008 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) Quote
shift1313 Posted September 24, 2008 Posted September 24, 2008 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. Quote
kezflake Posted September 24, 2008 Author Posted September 24, 2008 .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 Quote
shift1313 Posted September 24, 2008 Posted September 24, 2008 did you get it working with the scr or did you use some other method? just curious:) Quote
kezflake Posted September 25, 2008 Author Posted September 25, 2008 I got it working with the scr entered SCRIPTS then browsed for my .SCR file Quote
Recommended Posts
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.