Author Topic: What's your Block Library like?  (Read 16322 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: What's your Block Library like?
« Reply #15 on: February 09, 2010, 04:00:25 PM »
You Guys suck ROCK!  :x 8-)

Mighty nice work there.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: What's your Block Library like?
« Reply #16 on: February 09, 2010, 04:12:15 PM »
You Guys suck ROCK!  :x 8-)

Mighty nice work there.
That's what she said!   :evil:
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

GDF

  • Water Moccasin
  • Posts: 2081
Re: What's your Block Library like?
« Reply #17 on: February 09, 2010, 04:19:07 PM »
Another way to consider, is to have all of your blocks in one drawing and then use a dialog interface to insert the selected block...

;;; PVSYMBOLS.LSP   a program to insert in-line pipe valve
;;; symbols with or without trimming the line.  Program by Tony Hotchkiss.
;;; 8-2-02, Revised local variables in (init) function

Go to  http://www.cadalyst.com/
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

GDF

  • Water Moccasin
  • Posts: 2081
Re: What's your Block Library like?
« Reply #18 on: February 09, 2010, 04:25:19 PM »
Then there is a sheet setup routine that uses titleblocks copied to your job folder (to be xrefed into paperspace, sets up view ports, job number and sheet title attributes) etc...

So you can see, there can be many different type of block libraries...
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: What's your Block Library like?
« Reply #19 on: February 09, 2010, 07:53:31 PM »
OK, great feed back!  this is exactly what we were looking for.  So the concensus is folder based, one drawing per block.  After we get this one in the can we can introduce something more robust: a single drawing containing multiple blocks (utilizing ObjectDBX functionality) and symbols.  But for now let's focus on something a little simpler.  I'm on my way over to the AutoLISP forum to get the lads going . . ..
James Buzbee
Windows 8

cadtag

  • Swamp Rat
  • Posts: 1152
Re: What's your Block Library like?
« Reply #20 on: February 10, 2010, 04:26:20 PM »
As a suggestion -- having the capability for metadata associated with some/all of the blocks could be helpful down the road.  No matter how much sense a system makes to its creators, years from now the inheritors will invariably go "Huhh?"  Not all that critical for symbology, but details, and especially standard details could benefit from a history that goes with them

Possibly something as simple as a matching XML document, with whatever information is deemed relevant -- creator, creation date, approved by, layering standard, client specific, etc.
The only thing more dangerous to the liberty of a free people than big government is big business

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: What's your Block Library like?
« Reply #21 on: February 18, 2010, 09:02:55 AM »
cadtag: that's' a very good idea - thanks.

OK, a beta version is up for testing at: http://www.theswamp.org/index.php?topic=32058.0

Drag and drop the BlockManager.fas file into AutoCAD and type "BlockManager" at the command line.  A palette should come up. 

Use the "open" button in the lower left corner to point to a folder.  The tree control will be populated with all subfolders (any level deep). 

Selecting a folder in the tree controll will populate the drawing list control to the right.  Selecting a drawing will display a thumbnail in the preview.  The preview can be zoomed and panned.

With a drawing selected hit the insert button to insert: you'll be prompted at the command line for scale and rotation and insert point (as usual).  Double clicking the drawing list or the preview will also insert the drawing.

James Buzbee
Windows 8

t-bear

  • Guest
Re: What's your Block Library like?
« Reply #22 on: February 18, 2010, 10:04:05 AM »
Error message "openDCL.arx module did not load"  :cry:

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: What's your Block Library like?
« Reply #23 on: February 18, 2010, 10:15:54 AM »
Sorry, this program requires OpenDCL, a free download can be found here:

http://sourceforge.net/projects/opendcl/

Download and install.  Installs an ARX file that controls the dialog boxes in this program.

jb
James Buzbee
Windows 8

t-bear

  • Guest
Re: What's your Block Library like?
« Reply #24 on: February 18, 2010, 10:28:05 AM »
Did so...it installed in"c:/ Program files...etc"
Placed the folder in ACAD search path and tried again....same result.
Looking for an ARX file.....?
Where am I going wrong?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: What's your Block Library like?
« Reply #25 on: February 18, 2010, 10:39:46 AM »
You shouldn't need to add the path.


What is the DEMANDLOAD variable in your dwg ... try 3

(what happens when you enter OPENDCL at the command line ?


added:
for info the ARX is at
C:\Program Files\Common Files\OpenDCL\OpenDCL.18.arx
.... but you don't need to load it or in fact shouldn't even need to know where it lives.
« Last Edit: February 18, 2010, 10:44:40 AM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: What's your Block Library like?
« Reply #26 on: February 18, 2010, 11:05:38 AM »
"What happens when you type "OpenDCL" in the command line?"

Sorry Kerry, you already asked this.

I've added (command "OpenDCL") to the lisp, but I may have commented it out (I load the module from a menu).  I'll check the code and re-compile.

« Last Edit: February 18, 2010, 11:09:45 AM by jbuzbee »
James Buzbee
Windows 8

t-bear

  • Guest
Re: What's your Block Library like?
« Reply #27 on: February 18, 2010, 01:19:19 PM »
You shouldn't need to add the path.


What is the DEMANDLOAD variable in your dwg ... try 3

(what happens when you enter OPENDCL at the command line ?


added:
for info the ARX is at
C:\Program Files\Common Files\OpenDCL\OpenDCL.18.arx
.... but you don't need to load it or in fact shouldn't even need to know where it lives.

OpenDCL netted: "OpenDCL Runtime [6.0.0.22] loaded"
Demandload is set to "3"

This seems to have worked!  Thanks for walking me through this.  Now to figure out how to populate it.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: What's your Block Library like?
« Reply #28 on: February 18, 2010, 01:28:03 PM »
Can you post a screenshot of what it looks like?
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

t-bear

  • Guest
Re: What's your Block Library like?
« Reply #29 on: February 18, 2010, 02:57:23 PM »
Can you post a screenshot of what it looks like?
Can you post a screenshot of what it looks like?
how's this?