The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Xref Bind

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
cashea Posted - January 20 2003 : 5:20:50 PM
Anyone know how I might script to Bind all XREF's within a drawing to the drawing? I tested XREF at the command prompt with the following:

Command: -xref

Enter an option [?/Bind/Detach/Path/Unload/Reload/Overlay/Attach] <Attach>: b

Enter xref name(s) to bind: *
Regenerating model.
*Invalid*
Press ENTER to continue:

-----
Notice the *Invalid* message. Any ideas?
4   L A T E S T    R E P L I E S    (Newest First)
cashea Posted - January 22 2003 : 11:11:34 AM
Thanks again Graham. My Xref file was from Mechanical Desktop (not sure which version). I ended up wblocking it and re-Xrefing.
gdury Posted - January 21 2003 : 6:49:50 PM
Another option which could be causing the problem is you need to update your Autocad with the specific Object Enablers located from the following:
http://pointa.autodesk.com/local/enu/portal/prodcent/autodesk_obj_enabler.jsp

This would allow your architecture,if you have any to be updated and viewed on screen. This should also eliminate the error for *invalid*
xbinding. If possible find out which Autodesk product has been used to create your 'xref' as the weblink above requires this and your Autocad product to assist with its patch selection.

Trust this helps

Regards

Graham Dury
cashea Posted - January 21 2003 : 10:35:43 AM
Thanks Graham, but I'm using AutoCAD 2000. I purged the drawing, but now that I think of it I didn't audit it. I'll try an audit.
gdury Posted - January 21 2003 : 04:04:28 AM
It appears you could have 1 of 2 problems. This will dependant upon the Autocad release you are using or how 'clean' the drawing and your xrefs are.

1) You are using Autocad R13/14 in which case you will need to load the BINDPTCH.arx utility to assist in xbinding your drawings. The *invalid* usually happens if the architecture (if it contains architecture) has been created using Architectural Desktop.
The Bindptch.arx utility is avaliable from
http://www.taylor-tech.com/downloads.htm

BINDPTCH.ARX README
5/27/99

In AutoCAD Release 14, load BINDPTCH.ARX to XREF/Bind or XBIND
AutoCAD 2000 drawings saved in Release 14 format. Currently, starting
these bind operations in Release 14 delivers an "Invalid" message, and AutoCAD
aborts the command. BINDPTCH.ARX removes AutoCAD 2000 data so you can
BIND the drawing in R14. If you run BINDPTCH.ARX, AutoCAD will not be able
to restore the data when you open the drawing in AutoCAD 2000. Data removed
by BINDPTCH.ARX includes:

Long named object names. This includes linetypes, text styles,
blocks, layers, and dimension styles with names longer than 32 characters
in AutoCAD 2000.

For XREF blocks, BINDPTCH.ARX removes path information.

For layers, BINDPTCH.ARX removes the "is plottable" setting and plotstyle name.

Dimension styles will loose their AutoCAD 2000 settings.

Because only the host drawing is edited with the XREF/Bind or XBIND command,
only the host drawing loses its roundtrip data. All external reference
drawings retain their roundtrip data.

Use the ARX command Load option to load BINDPTCH.ARX and enable the patch; use
the Unload option to unload BINDPTCH.ARX and disable the patch.

To automatically load BINDPTCH.ARX at the start of each R14 session, add its path
to the ACAD.RX file.


2)You will need to 'clean' your xref(s)and drawings by using
Audit, Purge, Reduce all layer, text style, dimension style name lengths, explode any blocks and transfer to a usable layer, Truncate where necessary.
You will need to WBLOCK the drawing file to assist cleaning out any unwanted elements.


The following macrobutton was setup on my R14 machine to automatically run the xbinding process. You have to load the BINDPTCH.ARX utility prior to using the button:

Command: arx
?/Load/Unload/Commands/Options: L
SELECT BINDPTCH.ARX (from a support file location)
The utility now loads. You will have to reload this utility if you exit out of Autocad then re-open it



Add a toolbar button with the following
^C^C_XREF B * PURGE A * N PURGE A * N PURGE A * N QSAVE


The following hurricane script was created using R14. This will automatically load the Bindptch utility and run the xbind process, finally it wiil purge the drawing 3 times before saving and closing the file.

filedia 0
ARX
L
BINDPTCH
;PERMANENTLY BIND ALL
;XREFS TO DRAWING
-XREF
BIND
*
;PURGE ALL UNUSED
PURGE
A
*
N
;PURGE ALL UNUSED
PURGE
A
*
N
;PURGE ALL UNUSED
PURGE
A
*
N
FILEDIA 1

Hopefully this will then allow your drawings to be xbound.

Regards
Graham Dury
G.L.Draughting Ltd



Graham Dury

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000