Boundry lisp

Boundry lisp

Anonymous
Not applicable
1,492 Views
7 Replies
Message 1 of 8

Boundry lisp

Anonymous
Not applicable

Hi eveyone,

 

I want to use the boundry command but when I click on it, I don't want to get the window that asks for "pick points" etc.

 

I want to save clicks on the mouse by using the command I want to get the cursor state to pick the internal boundry of lines.

 

Thank you

 

 

0 Likes
Accepted solutions (1)
1,493 Views
7 Replies
Replies (7)
Message 2 of 8

ВeekeeCZ
Consultant
Consultant

How about use the command line version of the boundary command

 

-BOUNDARY

 

Note the dash.

Message 3 of 8

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... 

I want to save clicks on the mouse by using the command I want to get the cursor state to pick the internal boundry of lines.

.... 


By "get the cursor state," do you mean that you want to take the current location of the cursor as a pick in an enclosed area, without actually picking?  Would you position the cursor first, and then type in a command name [since if that's the idea, you couldn't pick some menu item]?

Kent Cooper, AIA
0 Likes
Message 4 of 8

Anonymous
Not applicable

Hi BeekeeCZ

 

It is still wasting clicks , I will explain:

 

I want by picking the internal side of a closed area I will get the polygon , without any other questions.( like if I want to keep the polygon or not)

 

by this I want to make polygons from a closed area just by click on the command  "boundry"  and then click on closed areas as much as I want and it will produce the boundries.

 

It is exactly like the boundry command but without the windows that ask for (pick a point) , or if I want to keep the polygon,

 

Hope that I was clear enough this time.

 

Thank you all

0 Likes
Message 5 of 8

ВeekeeCZ
Consultant
Consultant

Sorry, I can't replicate this behavior on C3D 2016. If I run the -BOUNDARY command, it asks for a point and that's it. No other question. It does not maintain any current polygon...

 

I'm probably missing something - or are you using some vertical? By "polygon" do you mean the actual entity type "polygon"?

Maybe some else would know...

 

0 Likes
Message 6 of 8

Kent1Cooper
Consultant
Consultant
Accepted solution

@Anonymous wrote:

.... I want to make polygons from a closed area just by click on the command  "boundry"  and then click on closed areas as much as I want and it will produce the boundries.

....

Try this [in simplest terms, minimally tested]:

 

(defun C:B1 (/ pt)
  (while (setq pt (getpoint "\nPick in closed area: "))
    (command "_.boundary" pt "")
  )
)

[And note that there's an A in BoundAry.]

 

You could UNDEFINE the original Boundary command, and then define a new one with the above using C:BOUNDARY in place of C:B1, if you virtually always want to use it in this way every time you call for the command, whether by typing in the name or an alias or picking a menu item.  You would still have the native command available for any time you need it, by typing it in with the period/decimal prefix.

Kent Cooper, AIA
Message 7 of 8

Anonymous
Not applicable

Thank you very much!!!  Kent1Cooper

 

Exactly what I wanted!

 

 

0 Likes
Message 8 of 8

john.uhden
Mentor
Mentor

Thank you for the spelling lesson.  I was wondering if he was referring to a new "Foundry" command for maybe casting entities into 3D objects.  What's the melting point of a spline?  Does it depend on thickness?

John F. Uhden

0 Likes