Jump to content

Scatter blocks inside a polyline or some kind of spray tool for ACAD ? ...


Recommended Posts

Posted

Your welcome to add get all blocks insert point then check their distance apart if to close then erase, or before insert do a ssget check for say a circle style CP if found don't insert.

  • 4 years later...
Posted (edited)

Hi everybody, 

I'm trying to get it to work in Autocad 2023 and i've loaded the lsp file succefully, with the corrections above. 
But my question is. How do i use/access it inside Autocad? 

Yeah sorry i'm newbie in this.

Thanks! 

Edited by AndreasB
Posted

I'll assume from your question that it is all loaded (if not this is  good resource: https://lee-mac.com/runlisp.html),

 

To run a loaded LISP generally all you need to do is type function name so long as it starts with a c:, (ignore the c:) the function names come after "defun". In the examples above I think the program is (defun c:populate.... and you'll want to type in populate

 

If the function name doesn't have 'c:' then to get that part to run generally put the function name in brackets ( -functionaname- )

 

Hope this help else you might need to list what you are doing, probably missed a very silly thing - easy to do

  • Like 1
Posted

Thanks a lot! it was just 'populate' that i was looking for. 

Another question tho, if I may.

When i'm trying to use it, it's not really doing anything inside the closed polyline? On the other hand it's actually putting everything outside in this kinda 'round' shape and wiiiidely spread. Do you have any idea, what's going on

1.JPG

2.JPG

3.JPG

4.JPG

5.JPG

roundshape.JPG

Posted

I'd have to look at that, however Marco_Rebar who made the code is a regular and might be able to help out with that one

 

(May bank holiday weekend, CAD is scheduled to be off till Tuesday.....)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...