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

set the character of the quotas

  • Thread starter Thread starter PROGETTONE
  • Start date Start date

PROGETTONE

Guest
Hello, I created a file lisp for the insertion of quotas, I do not remember the technical name of the language used but is that in which the codes are inserted through numbers (e.g. 62 indicates the color), and I can not set the characteristics of the text in the quotas (color and font size), someone would know how to help me?
Thank you.
 
you should not interfere with the dxf codes in quotas, set the variables in the lisp before they are drawn:

dimclrt -> color text

dimtxt -> text height (if the text style does not provide a fixed height).
 
excuse but I lost, for clarification I use the entmake method to inherit the code, for the quota (the quota returns the value 22.22) I wrote:

(setq v1)

(cons 0 "dimension")

(cons 100 "acdbentity")

(cons 8 "0")

(cons 100 "acdbdimension")

(cons 10 '(197.007 138.929)

(cons 11 '(197.007 137.805)

(cons 70 33)

(cons 1 "22.22")

(cons 3 "poligoni")

(cons 100 "acdbaligneddimension")

(cons 13(198.211 136.944)

(cons 14(198.211 138.6561))

)

)

(entmake v1)

the color choice or size of text how and where do I insert it?
Thank you.
 
ok I figured out how to insert it the problem is that it creates a local quota style that the file lis does not recognize, you can set the local style in the file lisp? or can you change an existing style?

Thank you.
 

Forum statistics

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

Members online

No members online now.
Back
Top