• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

quotas placed on the layer with the name of the window scale

  • Thread starter Thread starter Martina Webber
  • Start date Start date

Martina Webber

Guest
good evening, excuse me again for the umpteenth diturbo, but I wanted to know if it is possible to quote from a window of the layout and make sure that the quota fits into a layer that refers to the scale of that window? for example I quote in a 1:50 scale window and the share fits on a layer called _b_1-50 even if I don't have that layer as a current layer? ? ?
I'm sorry to be so tedious, but I don't understand much about programming, autolisp etc., I have an autolisp, which would make me this job, but I can't remove the forcedness to quotas
 
It's only possible with a lisp as you've guessed.
What do you mean forcing quotas?
Maybe you can tie that lisp you have... If someone wants to take a look at us.
 
View attachment Bemass.lsp
What do you mean forcing quotas?
I mean when the value of the quota is handwritten! ! !

I attach the lisp, hoping that someone can help me (unfortunately it's all in German, I'm high adige and the file was pulled by my native German native speaker), I found where I should put my hand, but I don't know how. In my opinion it would be to change the following item:
;--- bestimmt gesamten maßtext ---
(if (and mt_vk (= t1 "0"))
(setq opt1 "" t1 "")
(if (and (= t2 "") (= t3 ""))
(setq opt1 "")
(setq opt1 ".")
) ;if
) ;if

(if mt_hoch
(setq opt2 "…")
(setq opt2 ".")
) ;if
(if (= t3 "") (setq opt2 ""))
(if (and (= t2 "") (= opt1 ".")) (setq opt1 ""))
(if (and (= opt1 ".") (= opt2 ".")) (setq opt2 ""))

(if (= opt2 "…")
(setq opt3 "†")
(setq opt3 "")
) ;if

(if (and (= t1 "") (= (atoi t2) 0)) (progn
(if (= opt2 "") (setq opt2 "."))
(setq text (strcat "0" opt2 t3 opt3))
) (progn
(setq text (strcat t1 opt1 t2 opt2 t3 opt3))
(if mt_vk (while (= (substr text 1 1) "0") (setq text (substr text 2))))
)) ;if+progn
(setq z (pos_char tmp "<>"))
(if (= z 0)
(setq text (strcat text tmp))
(setq text (strcat (substr tmp 1 (1- z)) text (substr tmp (+ z 2))))
) ;if
(eval text)
) (eval ""))
)(sanduhr) ;defun bem_masstext
this would be to be changed, that in the first block says that if the first number is 0 then you have to replace it, that the second and the third block indicate that they have to write it in cm and with the third decimal digit as apex, but if I simply gate this part the lisp does not work.
 
Good evening,
since the addition of the list I have available does not help me or me to you, I wanted to understand how I can create a lisp to make sure that when I quote from the layout window the quota will fit into a layer that refers to the scale of that window; for example I quote in a 1:50 scale window and the share fits on a layer called _b_1-50 even if I don't have that layer as a current layer. Thank you so much again for patience, but I don't know where to bang my head
 
to be able to turn on or off the layers in the different windows so that you can zoom on the details without having to copy it to the side
 
If I'm not mistaken when you enter the window if you freeze a layer, it's only frozen in that window. Obviously you talk about layout space and not model.
 
of course, in this way in the model space I can have a planimetry with all the quotas to 100 and then a detail inside with the quotas to 10 exemption, at the moment when I knead in the window the quotas that I do not need.
 
The problem remains, though, if I have quotas related to a detail, I owe you the same to put on a different layer than the whole.
 
I understand what you want to do. I personally consider it a useless complication because if for those who read nothing changes nothing to mass elements in the same view for those who draw it becomes stressful and a springboard for complications. If you draw to 100 and in the same view I quote a part to 10 at that point as you develop the project you will see a colored ball in which you do not distinguish anything then you must turn off each time the layer of quota to 10 to see that area well; Not to mention that a detail extrapolated from the mother's view can be cleaned to optimize its function (to remove hidden lines, to remove objects in the second floor, to add work that in a scale to 100 would be invisible and heavy type bevels, gorges, welds) while with your system becomes complicated. make a copy of a drawing portion uses ten seconds.
It's my personal opinion I don't want to tell you how to work, but in addition to the layer you will also have to create a different style of altitude I imagine, in that case you can make a quick selection with the name of the quota and place everything under the appropriate layer... operation that does not take you away more than a minute or place you on the correct layer before starting the quotation.
if you want to look for the thrill you can use the system of a client who quoted (and I had to do it myself unfortunately) all in the layout... I'm still living now
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top