Jump to content

Recommended Posts

Posted

Hi Guys,

 

Been flicking onto here for a couple of years now picking tips up but now i'm needing some serious help.

 

Basically i'd like to make a toolbar of which i can click and simply insert blocks from a location on a works server (if this is possible?)

 

I've read up about the long string editor etc and made little sense of it :roll:

 

I've tried using this code

^C^C-insert;P:/York/M&E/CAD_Details/Tool_Palette/Block;\\;0;explode;last;

 

and i get this in return....

Command: -insert
Enter block name or [?]: P:/York/M&E/CAD_Details/Tool_Palette/Block
"Block.dwg": Can't find file in search path:
 H:\My Documents\ (current directory)
 P:\York\M&E\CAD Details\Tool Palette\
 C:\Documents and Settings\Sblades\Application Data\Autodesk\AutoCAD 
2008\R17.1\enu\support\
 C:\Program Files\AutoCAD 2008\support\
 C:\Program Files\AutoCAD 2008\fonts\
 C:\Program Files\AutoCAD 2008\help\
 C:\Program Files\AutoCAD 2008\Express\
 C:\Program Files\AutoCAD 2008\support\color\
 C:\Program Files\AutoCAD 2008\drv\
 C:\Program Files\AutoCAD 2008\
*Invalid*

 

I have added the full location of the folder path to the support file search path and has made no difference so if anyone could shed some light onto my problem i would really appreciate it.

 

Thanks Simon

Posted (edited)

I've tried using this code

^C^C-insert;P:/York/M&E/CAD_Details/Tool_Palette/Block;\\;0;explode;last;

^C^C_.insert;[color=sienna]"[/color][color=sienna]*[/color]P:/York/M&E/CAD_Details/Tool_Palette/Block.[color=sienna]dwg[/color][color=sienna]"[/color];

 

The * will insert the block already exploded, put the .DWG or not it doesnt really matter :)

 

Besides, use Tool Palettes.. its a lot convenient than customizing every button in a toolbar :)

Ctrl+2.. browse for the folder with the blocks... right click.. select 'Create tool palette of blocks"

Ctrl+3 is tool palettes.... and you're ready to go

Edited by pBe
Typo Error
Posted

I have added the full location of the folder path to the support file search path and has made no difference so if anyone could shed some light onto my problem i would really appreciate it.

 

 

^C^C_.insert;[color=sienna]"[/color][color=sienna]*[/color]P:/York/M&E/CAD_Details/Tool_Palette/Block.[color=sienna]dwg[/color][color=sienna]"[/color];

 

The * will insert the block already exploded, put the .DWG or not it doesnt really matter :)

 

Given that the block's file path is already added to the Support Files Search Path, then :wink::

 

^C^C^P._[color=red][b]-[/b][/color]insert;"*Block";\\;0;

 

 

Besides, use Tool Palettes.. its a lot convenient than customizing every button in a toolbar :)

Ctrl+2.. browse for the folder with the blocks... right click.. select 'Create tool palette of blocks"

Ctrl+3 is tool palettes.... and you're ready to go

 

Agreed. This method also provides layer checking, and a whole host of features that an error prone macro will not (unless the macro calls a LISP routine).

 

Hope this helps!

Posted

 

Given that the block's file path is already added to the Support Files Search Path, then :wink::

 

^C^C^P._[color=red][b]-[/b][/color]insert;"*Block";\\;0;

 

Yup! :thumbsup:

Posted

Thanks guys, it's worked!

Just a shame i have quite a few different blocks but i'm creating them for the use at work where then people have a central point of blocks rather than using slightly different ones or their own.

 

Cheers guys!

Posted (edited)
Thanks guys, it's worked!

Just a shame i have quite a few different blocks but i'm creating them for the use at work where then people have a central point of blocks rather than using slightly different ones or their own.

 

Cheers guys!

 

No problem

 

"Tool Palettes"

You can export/import these... (Not the blocks but the LINK to the blocks) , which i assume you sotre on the server

 

"central point of blocks"... Exactly!!

 

and yeah... Welcome to the Fourm

Edited by pBe
added greeting
Posted

Its good practice to have your blocks in one location only then they dont get changed or saved over. Set them to read only then you can not accidently overwrite them.

Posted

Yeah we have just been bought by another company so now our systems are full operational i've decided to start compiling all of them into one location so keep consistency on all drawings :)

Posted

Any idea on how i can just click the link so it doesnt ask about a scale and just ask's for an insertion point where i can click to insert it?

 

Thanks :)

Posted
Any idea on how i can just click the link so it doesnt ask about a scale and just ask's for an insertion point where i can click to insert it?

 

Thanks :)

Just specify it before picking the insertion point.

eg.

Command: in
-INSERT Enter block name or [?] <p6>:
Specify insertion point or [basepoint/Scale/X/Y/Z/Rotate]: s
Specify scale factor for XYZ axes <1>: 1
Specify insertion point or [basepoint/Scale/X/Y/Z/Rotate]: r

Specify rotation angle <0d0'0">: 0
Specify insertion point or [basepoint/Scale/X/Y/Z/Rotate]:

Posted
Any idea on how i can just click the link so it doesnt ask about a scale and just ask's for an insertion point where i can click to insert it?

 

Thanks :)

 

You mean from Tool Palettes? Right click on the icon,There's options for Scale/Auxilliary scale.. play with it.

If you're using 2008 and above consider creating blocks wiht Annotative Behavior.

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