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

view scale ratio in block insert menu

  • Thread starter Thread starter gerryfi
  • Start date Start date

gerryfi

Guest
I have realized, reading here and here and trying and retrying, a custom menu to insert blocks from me made.

the menu works almost perfectly for the objectives I had set up, image display block, insertion, popup opening for request data attributes, etc.

Since I work on plants in scale at times 1:100 or at turns 1:50 some blocks have to be inserted in different scale, but I can not show in the phase of insertion of the block, as it happens for attributes, even the scale ratio.

this is a command line for inserting a block

" [Luci012s]^c^c(setq cl (getvar "clayer") -layer _m 2dilluminazione; (setq at (getvar "attdia")) (setvar "attdia" 1) (setq at (getvar "attreq")) (setvar "attreq" 1) _-insert librerie/luci/luci012s \; \;^c^c(setvar "attdia" at) (setvar "attreq" at) (setvar "clayer" cl) "

mi potete aiutare ......

by gerry (fi)
 
for the request of the scale value to each insert thus test:
(Attreq) _ -insert bookstore / luci / luci 012s\\ ;^c^c(setvar "attdia" at)if you want something automatic you could assign the scale value of your design to a variable, such as useri1 = 50 or 100 and then try this way:(Attreq) _-insert librerie/luci/luci012s s (/ (getvar 'useri1) 50) \\ ;^c^c(setvar "attdia" at)
 
for now I thank you for the tip, tomorrow I try and then I let you know.

by and thanks again gerry (fi)
 
Please.
I assume that you already have the entire library, otherwise you should create annotative blocks and insert them without the request of scale.
 
I couldn't wait and I got up very early to try.

the first returns my request to insert the scale factor into the command bar and honestly I find it extremely uncomfortable, it could be valid if it appeared in the same popup where it asks me to insert the attributes (maybe with a click 50 or 100)

the second sincerely I don't understand it, it asks me a value always in the command bar but I can't understand what it refers to.

to your last message I can tell you that you already have hundreds of custom symbols with lots of attributes but if I change them I can solve this problem I can also regenerate them all....

I searched online - I use a preset model with lots of settings and layers set, normally work in scale 1:1 and then decide in print phase that scale use (10=1 scale 1:100 / 20=1 scale 1:50) , but I have not yet understood how these settings work because if the annotative variable only works in print phase then while drawing in space model would have overlapped blocks due to scale?

However I keep looking at some video lesson (doctor cad and treddi.com) to see if I understand something, there are two days of party to use.......

thank you again for your interest, gerry (fi)
 
the first returns my request to insert the scale factor into the command bar and honestly I find it extremely uncomfortable, it could be valid if it appeared in the same popup where it asks me to insert the attributes (maybe with a click 50 or 100)
is the only way to insert "hand" the scale value, the dialog for inserting the value of the attributes is not editable.


the second sincerely I don't understand it, it asks me a value always in the command bar but I can't understand what it refers to.
first I have to make a correction:
(Attreq) _-insert librerie/luci/luci012s s (/) (getvar 'useri1) 100.0) \\ ;^c^c(setvar "attdia" at). . .basically, after entering the block, education s asks to set the scale, this is automatically inserted as the function takes the value of the useri1 variable and divides it by 100.
then if the variable checks the value 100 the block will be inserted with scale 1 (100/100=1), if you check the value 50 the block will be inserted with 0.5 (50/100=0.5)


to your last message I can tell you that you already have hundreds of custom symbols with lots of attributes but if I change them I can solve this problem I can also regenerate them all....
then continue with this system, the most appropriate, changing the value of the dwg annotation scale all the blocks will be inserted in the right scale.
menu instruction should therefore be this:
(Attreq) _ -insert bookstore / luci / luci 012s\; ;^c^c(setvar "attdia" at). . .to set the yearning to existing blocks:
- if inserted in the dwg open them with the editor blocks and tax annotative = yes from the property window
- if they are dwg openings, assign the variable annotativedwg value 1, save and exit.


...normally work in scale 1:1 and then decide in print phase that scale use (10=1 scale 1:100 / 20=1 scale 1:50)
This is la way of working.
 

Forum statistics

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

Members online

No members online now.
Back
Top