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

offset su xref

rpor66

Guest
intrigued by the tools to perform the offset on xref or blocks, published by plannerroad Here, I thought I'd make it in lisp.
the command is x_offset.

Hi.
 

Attachments

Hi.
I tried the lisp on the blocks and found a mistake, at least I think... .

in practice I noticed two different behaviors:
1 - block with a closed polyline, select the polylinea and get the offset. comnado ok
2 - block with closed polylinea and inside other objects, select polylinea and the command works strangely....

I practically want to get the polylinear offset that I click....

Am I wrong? or is the goal of the command different from what I think? ?

Thank you.
bb
 
seemingly strange behavior is chargeable to the entmake function.
After command (command "_move" ...) add this line:
(princ (strcat "\ntipo entita: (cdr) "\n")
of any entity that selects you the type; in the presence of primitive entities, line, pline, circle etc., entmake education does not create difficulties, just pass the list obtained from nentsel and works.
in the presence of blocks, before passing the list you should calculate scale factors and other parameters that the enclosed routine does not.
I hope I've made it clear to you.
bye
 
seemingly strange behavior is chargeable to the entmake function.
After command (command "_move" ...) add this line:
(princ (strcat "\ntipo entita: (cdr) "\n")
of any entity that selects you the type; in the presence of primitive entities, line, pline, circle etc., entmake education does not create difficulties, just pass the list obtained from nentsel and works.
in the presence of blocks, before passing the list you should calculate scale factors and other parameters that the enclosed routine does not.
I hope I've made it clear to you.
bye
Hi.
You've been so clear... as soon as I can prove.

Thank you.
bb
 

Forum statistics

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

Members online

No members online now.
Back
Top