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

print styles not editable

  • Thread starter Thread starter Giovannino60
  • Start date Start date

Giovannino60

Guest
because in this view the print styles are not editable i.e. clicking on it does not open anything?
I wanted to assign the colors of this file that sent me with print styles, in fact from the .pdf that sent me colors are different when I launch a print even if I remove the graff in print-model in print styles?

Thank you.
 

Attachments

  • Grigi.webp
    Grigi.webp
    110.5 KB · Views: 7
but how do I print with the color I see in the homonymous column, without making any changes. that is to rub the colors that this person gave to the design and that you see in the color column?

but why are the answers to this discussion not notified to me on my email?
 
define you to give, or create, a ctb file (see guide) in cubes for each color you define a print thickness, a color (for example, if on screen you see yellow for contrast convenience with the black background in the printing stage you may want it blue) and other things.
I attach an image to you
atention that color 7, which you see black, is the white of the dwg. Open the color palette of the layers to see the corresponding number (see 2nd image)
View attachment 42313View attachment 42314
 
I can do this. my problem that gave me a file made with archicad and then exported to .dwg and therefore they have created numerous layers with various colors, and with those among other things not with a precise number but for example 5,10,15 i.e. snails, and if I have to give a color to each color is a long job, so I thought there was a way that automatically deducted the colors that were given in the import layer.
 
Well if the job is done to dog... Maybe you also have the color of the forced layers and then that of the colors goes to get blessed at the start, you just have to have ass or go down print monocrhome mercilessly
a method, to check, if you do not need color printing could be to list the layers for thickness, assign to each thickness a unique color and then use a set ctb on those colors.
for example all thicknesses 0.20 put them on red, those 0.35 on yellow... then print normally. of course it is a touch escamotage and escape
 
I can do this. my problem that gave me a file made with archicad and then exported to .dwg and therefore they have created numerous layers with various colors, and with those among other things not with a precise number but for example 5,10,15 i.e. snails, and if I have to give a color to each color is a long job, so I thought there was a way that automatically deducted the colors that were given in the import layer.
use this lisphttp://www.theswamp.org/index.php?topic=36608.msg416061#msg416061
 
That is, where do I have to copy it?



(defun c:rgb2aci ( )
(color-to-acicolor)
(command "_.regenall")
(princ)
)
(defun color-to-acicolor (/ txt count *error*)
(defun *error* (msg)
(princ msg)
(mip:layer-status-restore)
(princ)
) ;_ end of defun
(mip:layer-status-save)
(vlax-for blk (vla-get-blocks
(vla-get-activedocument (vlax-get-acad-object))
) ;_ end of vla-get-blocks
(setq count 0)
(grtext -1
(setq txt
(strcat "inspecting objects: "
(vla-get-name blk)
)
)
) ;_ end of grtext
(if (= (vla-get-isxref blk) :vlax-false)
(progn
(vlax-for obj blk
(setq count (1+ count))
(if (zerop (rem count 10))
(grtext -1 (strcat txt " : " (itoa count)))
)
(if (and (vlax-write-enabled-p obj)
(vlax-property-available-p obj 'color)
)
(vla-put-color obj (vla-get-color obj))
)
) ;_ end of vlax-for
) ;_ end of progn
) ;_ end of if
) ;_ end of vlax-for
(vlax-for lay (vla-get-layers
(vla-get-activedocument (vlax-get-acad-object))
)
(vla-put-color lay (vla-get-color lay))
)
(mip:layer-status-restore)
)
(defun mip:layer-status-restore ()
(foreach item *pd_layer_lst*
(if (not (vlax-erased-p (car item)))
(vl-catch-all-apply
'(lambda ()
(vla-put-lock (car item) (cdr (assoc "lock" (cdr item))))
(vla-put-freeze (car item) (cdr (assoc "freeze" (cdr item))))
) ;_ end of lambda
) ;_ end of vl-catch-all-apply
) ;_ end of if
) ;_ end of foreach
(setq *pd_layer_lst* nil)
) ;_ end of defun

(defun mip:layer-status-save ()
(setq *pd_layer_lst* nil)
(vlax-for item (vla-get-layers (vla-get-activedocument (vlax-get-acad-object)))
(setq *pd_layer_lst* (cons (list item
(cons "freeze" (vla-get-freeze item))
(cons "lock" (vla-get-lock item))
) ;_ end of cons
*pd_layer_lst*
) ;_ end of cons
) ;_ end of setq
(vla-put-lock item :vlax-false)
(if (= (vla-get-freeze item) :vlax-true)
(vl-catch-all-apply '(lambda () (vla-put-freeze item :vlax-false))))
) ;_ end of vlax-for
) ;_ end of defun
(princ "\ntype rgb2aci in command line")(princ)
 
How do I copy this file, it's not a file and so I can't upload it with _appload?
 

Forum statistics

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

Members online

No members online now.
Back
Top