Jump to content

Recommended Posts

Posted

Lets start with the info that im sitting in autocad 2013 using the latest magicad.

 

And what im trying to figure out is if theres a way of making a macro that insterts a block of my chosing (ex. 4000X3000 mm) on to a specific part.

 

Funtion wise as a marker and helper.

 

and keep in mind sure i could inster one then osnap mysself to the death.

since in might have to place some around 100 - 600 on each drawing.

and im not just working on one a day.

 

So if anyone has an idea it would be greatly appreciated!!

Posted

The blocks you are inserting can be different. OK. But what about the part you are going to be attaching them to? Will it always be the same? Will the insertion point always be the same?

Posted

Yes,

 

So answer to your question they will be the same.

Atmost around 3 different part types.

though they will be a part from the magicad extension and the magicad library.

 

any idea?

Posted

No idea. Just trying to get some clarification that's all.

Posted

Okey, thanks anyway!

 

It´s bugging me that i cant figure out how to.

Since a solution would save me a great deal of time.

Posted

I'm sure one of the lisp gurus can at least point you in the right direction. I would not give up all hope quite so soon. Be patient.

Posted

Might help if you post more information about the MagiCAD blocks and Library.

Posted

To start a magicad project Autocad you first need to create a Project file thorugh

magicad wich then you place a cupple of subfolders up in the hierarki struktur.

 

when that is done you get a "project.EPJ, Autocad linetype definition file, Project.QPD)

 

The blocks I just want to be able to make some easy 300X4000mm rectangles or circles.

that then is placed on the MagiCAD part,

wich in this case is a sprinkler part.

 

The parts location through quick select is Object type: MagiCAD Sprinkler, Properties: System UserCode or just UserCode.

 

If you need more info about the library then please be more precise so i know.

(fairly new with macro making and all that comes along)

  • 2 weeks later...
Posted

Can you not redefine the "part" from another drawing that already has the 4000x3000 block already attached to it?

Posted

Redefining it might be hard.

Since the part is actually taken from a online storage then saved in the project file.

Though we ha a reference project file wich we use that we can change te look on the parts in a 2d and line view setup.

And to make a different layout for the part will give me far more work of switching back and forth and changin part.

Then if theres a possible way of making a block snap on to all "parts".

theres a chance to keep them on a seperate layer for the usage of freeze/hide.

 

But if you meant or know a way then please explain more.

 

thanks JGA!

Posted

You need to post a dwg with a "part" so we can look at it, if its like a extended object then you should be able to find them all in one go, as you want to add something not change the part it should be achieavable.

  • 11 months later...
Posted
See this post, it will probably help you allot!

 

Looks like i might find what i need in that one. Thanks!

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...