Jump to content

Labelling Contours


Eoin

Recommended Posts

Working with Trimble Business Centre, I have generated a number of contour lines. When I export the file as a dxf to CAD, my 3d polylines are label-less. Would be very grateful if some one had a lisp which would enable me to just click on the lines in CAD, and the z value would appear opposite the line/ in the line. Alternatively, is it possible to create a line style that would have the lines particular elevation encompassed in the middle of it, similar to the line styles for Watermains which look something like ---WM--- etc?

Link to comment
Share on other sites

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

  • Eoin

    13

  • ReMark

    12

  • eldon

    10

  • Organic

    3

Top Posters In This Topic

Posted Images

I have this protected lisp, saved from a very long time ago, and I can't remember what the programme was called.

 

If you can work out how to work it, it will produce results like this, but your contours MUST be in 3D.

CIV00029.LSP

ContourLabel.JPG

Link to comment
Share on other sites

thats exactly the effect I am after Eldon. I made a mistake in my OP too, namely my contours are not 3d polylines, but ordinary polylines with an elevation set

Link to comment
Share on other sites

I understand contours to be ordinary polylines, but with the appropriate z value. So the lisp should work for you. :D

Link to comment
Share on other sites

I understand contours to be ordinary polylines, but with the appropriate z value. So the lisp should work for you. :D

 

any idea what the command prompt might be????

Link to comment
Share on other sites

I believe the command name is the same as the name of the lisp file. Try it.

 

no, no joy... when I open the lisp in text its along the lines of: 畁潴䅃⁄剐呏䍅䕔⁄䥌偓映汩൥ᨊ颰꽵朙ↀ䰓䢰

Link to comment
Share on other sites

You did not follow my directions.

 

APPLOAD the routine then type the name of the file CIV00029 to start the program.

Link to comment
Share on other sites

If you try to load it manually, i.e. type (load "civ00029") the command line reports an error. I think that this is because it is trying to confirm a dongle is there. Ignore that message and type civ00029, and the routine starts.

 

Try the options to make the text face the right way up (facing up the slope).

Link to comment
Share on other sites

You did not follow my directions.

 

APPLOAD the routine then type the name of the file CIV00029 to start the program.

 

excuse me if i'm doing something wrong?

1.jpg

2.jpg

Link to comment
Share on other sites

You have been instructed (twice) to type CIV00029 (at the command line) to start the program. Please follow the instructions. Thank you.

Link to comment
Share on other sites

One would think this to be obvious.

 

haha, hey I know its Friday an all, but seriously, I have followed those instructions and I keep getting the error, unknown command up as per the second pic above. what I think is wrong is that when I open the lisp to look at the code it has a lot of symbols (see pic) unlike any other lisp I have used to date (for example the other pic). this cant be right surely?

3.jpg

4.jpg

Link to comment
Share on other sites

Please stop what you are doing. There is no need to open and look at the code. It is meaningless to you.

 

Open your drawing. Invoke the APPLOAD command. Load the lisp program. AutoCAD will tell you that it has been successfully loaded.

 

Go to your command line. Type: CIV00029 and press the Enter key. Follow the command line prompts.

 

Are we clear now? Yes or no?

Link to comment
Share on other sites

Please stop what you are doing. There is no need to open and look at the code. It is meaningless to you.

 

Open your drawing. Check Invoke the APPLOAD command. Check Load the lisp program. AutoCAD will tell you that it has been successfully loaded. Check

 

Go to your command line. Check Type: CIV00029 and press the Enter key. Check Follow the command line prompts. Command: civ00029

Unknown command "CIV00029". Press F1 for help.

 

Are we clear now? Yes or no?

 

I fully understand what you are trying to get me to do, its the same process for all the lisps ive used to date... I am trying to tell you it aint working and trying to get to the bottom of why this is the case!

Link to comment
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
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...