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

Land start and end points

  • Thread starter Thread starter blubossa
  • Start date Start date

blubossa

Guest
Bye to all,

selecting a geometric figure that could be composed of:
open polyline, lines, arches, oopure uuna closed polylinea,
I would like to set up a circle at the beginning and end points of each entity.
and that he would bring me back to the window of the entities found.

do you have any suggestions about this? Thank you.

bb
 
Bye to all,

selecting a geometric figure that could be composed of:
open polyline, lines, arches, oopure uuna closed polylinea,
I would like to set up a circle at the beginning and end points of each entity.
and that he would bring me back to the window of the entities found.

do you have any suggestions about this? Thank you.

bb
Try to see if this suits you:
tools>stretch attributes,
and at the end of the procedure carry xls files
 
Excuse me, but what does the attributes have to do with the beginning and end point of a polyline? Arch? Line?

bb
 
a little help to what you want to do.
the file lisp contains a command, brandsf, functions, fnp10_p11 is the main, the others are service to this.

the brandsf command wants to be only by example.

load the lisp and start brandsf, select a line or polylinea or lwpolilinea or arc and this will mark the beginning and end of the entity with points.

bye
 

Attachments

I also included this, I forgot:
; function requiring to select the entity. uses entsel function.
(defun sing (prompt / a)
(while (not (setq a (entsel prompt)))
(setq a)
)
 
a little help to what you want to do.
the file lisp contains a command, brandsf, functions, fnp10_p11 is the main, the others are service to this.

the brandsf command wants to be only by example.

load the lisp and start brandsf, select a line or polylinea or lwpolilinea or arc and this will mark the beginning and end of the entity with points.

bye
Hello rpor66,

I tried to use the lisp but I go wrong, look for another function.
Here's the mistake:
No function definition: rpptHave you forgotten another function to attach?? Would you send it to me?

Thanks for everything

bb
 
thanks works perfectly. ...... ,

I am expanding the routine that filters open polylines and closes them... .

I can't reassign to the code dxf 70.0 code 70.1 to close the polylines.

while if I use (command "_pedit" ename_oggeto "_close" "")

Nothing works.. .

suggestions?

Thank you.
bb
 
charge the lisp if not sing does not work.
(command "_pedit" (car) (sing "sel poli: "close"
 
typing the full command name, if autocad is in Italian, it only works con The underscore, however, should eliminate the last two quotes as they are not needed.
rather, we are sure the name of the poly is just ename_andgeto?

Blue, have you forgotten? http://www.cad3d.it/forum1/showthread.php?t=9096&page=2 :rolleyes:
You're right, unfortunately I had problems with hd and I lost a lot of info, I remembered I had already treated it but I couldn't put it together.

Thanks again... .

bb
 
charge the lisp if not sing does not work.
(command "_pedit" (car) (sing "sel poli: "close"
; function requiring to select the entity. uses entsel function.
(defun c:cply ()
(command "_pedit" (car) (sing "sel poli: ") "_close" "
)

(defun c:sing (prompt/a)
(while (not (setq a (entsel prompt)))
(setq a)
)

back to video the popup menu of polylinea options, even if imposed filedia at 0.

There's something missing.......... .

I press that reassigning code 70 to 1 the problem I solved it, but it is just want to understand and control better other solutions.

another question
with pdmode I choose the type of point I want to use within the design,
but how can I define the size of the point? Is there a way?

Thank you.

bb
 
remove the c: in front of sing...

(defun sing (prompt / a)
(while (not (setq a (entsel prompt)))
(setq a)
)

....or add it here:

(defun c:cply ()
(command "_pedit" (car)c:sing "sel poli: ") "_close" "
)


with pdmode I choose the type of point I want to use within the design,
but how can I define the size of the point?
(setvar "pdsize" .... .
 
remove the c: in front of sing...

(defun sing (prompt / a)
(while (not (setq a (entsel prompt)))
(setq a)
)

....or add it here:

(defun c:cply ()
(command "_pedit" (car)c:sing "sel poly: ") "_close" "")
)


(setvar "pdsize" .... .
It's working.... thank you.

but by generation type of line what is it meant?
 
corresponds to the plinegen variable
"sets the mode of generation of line type models around the tops of a 2d polylinea"
Sorry, I was wrong.
I wanted to ask what situation is convenient to set plinegen 0 / 1? ?

Thank you.

bb
 
Hello, everyone, excuse me if I open the discussion. the command works perfectly but is it possible to apply it to all the polylines present in the design?

Thank you.
 

Forum statistics

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

Members online

No members online now.
ciao
Back
Top