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

layer disabled when i use the retino

  • Thread starter Thread starter mir
  • Start date Start date

mir

Guest
Hi, it'll be banal, I guess. I have a "pipe" layer that I want to keep on display but that should not interfere when I make the retino, i.e. when I use the retino the "pippo" layer should not limit the area. Did I explain?

Thank you.
 
- "pippo" switchboards
- do the retino
- turn on/off "pippo"

I don't see any other solutions. . .
 
the only layer that is not considered is the "defpoints" when, at the same time, the layer 0 is turned off or frozen
 
the only layer that is not considered is the "defpoints" when, at the same time, the layer 0 is turned off or frozen
true if retini selecting objects. but if you connect with the pick point, the defpoint is intercepted, regardless of whether the layer 0 is turned off or thawed.

with the pick point option (select point), all that is visible participates in the selection of the area.
 
true if retini selecting objects. but if you connect with the pick point, the defpoint is intercepted, regardless of whether the layer 0 is turned off or thawed.

with the pick point option (select point), all that is visible participates in the selection of the area.
That's right... I couldn't with the pick point in any way!
but possible that there is no way?

I unfortunately this thing can only "see" the layer that should not be considered by the pick point.

I did it!
1. I switched in block the items I have to display but should not be interested in the pick point
2. ipostate defpoint layer on the block above
3. put in off (spenta la lampadina) on defpoint layer

Now I see the design but if I make the pick point I don't cross the line :)
 
But not...
You know what changes?

that if I make the system that I told you and put the cross in the area the "preview" does not intercept me the defpoint ... but if I press it intercepts me! ! !
 
but instead of doing everything I am ambaradan (make the block change the layers, turn off, turn on, reexplode the block etc), it is not easier to assign what entities to consider and what not?1714037440358.webp
 
or alternatively draw a pline on the contour and after retire that through the object selection?
 
true if retini selecting objects. but if you connect with the pick point, the defpoint is intercepted, regardless of whether the layer 0 is turned off or thawed.

with the pick point option (select point), all that is visible participates in the selection of the area.
only visually, if you send the dash extends without considering objects on that layer.
 
some important considerations:
1) the lisp must be used solo on 2d drawings
2) after the creation of the dashboards and before making changes to the dwg I strongly recommend to launch h1 to restore the original elements on the pip layer

if you want to add other layers not to consider by changing this portion of code:
(8 . "pipe, little man")

do tests, it may be necessary to vary the decimals I set for dwg with different units (mm cm m) and according to the drawing extensions.

is an expedient, to have time (which I do not have) you could complete decently, for the moment satisfied :sneaky:
Code:
(defun c:h0 ( / )
(if (setq e1 (ssget "_x"((8 . "pippo")(0 . "lwpolyline,insert,circle,arc"))))
(repeat (setq n (sslength e1))
(vlax-put (vlax-ename->vla-object (ssname e1 (setq n (1-n)))) normal (list 0.000001 0.000001 1.0)
)
)
(if (setq e2 (ssget "_x"((8 . "pippo")(0 . "line"))))
(repeat (setq n (sslength e2))
(setq p: (getpropertyvalue (setq ll (ssname e2 (setq n (1-n)))))))
(setpropertyvalue ll "startpoint" (list (car p:) (cadr p:) 0.1)
)
)
(princ "the poplar layer will not be considered for the creation of contours in the sections")(princ)
)
Code:
(defun c:h1 ( / )
(if (setq e1 (ssget "_x"((8 . "pippo")(0 . "lwpolyline,insert,circle,arc"))))
(repeat (setq n (sslength e1))
(vlax-put (vlax-ename->vla-object (ssname e1 (setq n (1-n)))) normal (list 0.0 1.0)
)
)
(if (setq e2 (ssget "_x"((8 . "pippo")(0 . "line"))))
(repeat (setq n (sslength e2))
(setq p: (getpropertyvalue (setq ll (ssname e2 (setq n (1-n)))))))
(setpropertyvalue ll "startpoint" (list (car p:) (cadr p:) 0.0)
)
)
(princ "the poplar layer will be considered for the creation of contours in the sections")(princ)
)
648.gif
 

Forum statistics

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

Members online

No members online now.
Back
Top