Scale LISP

Scale LISP

Anonymous
Not applicable
9,352 Views
25 Replies
Message 1 of 26

Scale LISP

Anonymous
Not applicable

Hello all

 

This is my idea. You are at a layout and there is a viewport. Then you draw a line at paperspace of 10 units (mm) for example and you say it is 1 meter in real scale. So the lisp should display the scale. In this sample, it will prompt 1/100.

 

I ask for this because i usually work with rescaled drawings and the viewport scale is not the final scale.

 

Thanks.

0 Likes
Accepted solutions (1)
9,353 Views
25 Replies
Replies (25)
Message 21 of 26

Moshe-A
Mentor
Mentor
Accepted solution

Hi, @Anonymous 

 


In general my idea is to specify the distance in paperspace (first part of the lisp that you have code) and then you write the real length, so the lisp will show the real scale (for special drawings like mine). If you dont understad, it doesnt matter, i am trying to make myself.

 

Thanks for the effort.


from reading what you are saying i have the feeling that you didn't try my previous code because it exactly replies to what want in first place. the program runs like the dist command , give you the real length plus will give you the viewport scale with out the need to specify the real length (of course only when you are in paper space) - try it.

hope this will bring you to mark this as your solution.

 

Moshe

 

 

 

 

0 Likes
Message 22 of 26

Anonymous
Not applicable

Hello maratovich,

 

Sorry, i didnt realize your post. 

It would be very similar to the video. You specify the lenght in paper space and the REAL length and it prompts the scale.

0 Likes
Message 23 of 26

Moshe-A
Mentor
Mentor

Aren't you familiar with DIST command???

it works the same and in paper space will add the viewport scale (the real scale as printed on paper)

 

 

 

 

0 Likes
Message 24 of 26

Anonymous
Not applicable

Hello Moshe-A,

 

I tried it very quickly at work and I could not test it very good.

 

Now i am testing it, and i see it Works perfectly, as I need.

 

Thanks a lot! It has been a long work hehe.

0 Likes
Message 25 of 26

Anonymous
Not applicable

Hello Moshe-A,

 

I am not familiar with that command. Maybe the lsp do the same as the command, but i dont know it.

0 Likes
Message 26 of 26

Moshe-A
Mentor
Mentor

Casals,

 

You know what is amazing here? form start i have mentioned the dist command at lease 5 times.

and i now think that if you were familiar with it we weren't 'meet' here at all.

 

yes DIST & NDIST are doing the same work except NDIST now has the viewport scale but as i said before you can achieve what you want only by using dist command + add a text under the viewport with it's scale (that how the world works).

 

cheers

moshe

 

 

0 Likes