Results 1 to 9 of 9

Thread: xref object from source dwg only

  1. #1
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default xref object from source dwg only

    How can I xref a single object from a dwg. versus he whole dwg.?

    xclip wont work because other objects are touch the object I want to xref...

    So I need to write a code for it...since it isn't a offered feature on autocad

    Any help is greatly appreciated

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    Quote Originally Posted by mbrandt5 View Post
    How can I xref a single object from a dwg. versus he whole dwg.?

    xclip wont work because other objects are touch the object I want to xref...

    So I need to write a code for it...since it isn't a offered feature on autocad

    Any help is greatly appreciated
    You could WBLOCK the desired object(s) out to their own, separate drawing and XREF that... Or you could simply use NCOPY (nested copy) to replicate the desired object(s) from the source XREF to the active drawing.

    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    Thanks for the suggestion... the only issue is my reasoning for the xref is to save space and each object will only be xrefed one time

  4. #4
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    I realize that I wo uld have to use .net
    [¿probably even c++, may have to create custom classes?]in order to xref just an object within autocad... has anyone heard of someone else doing something similar or know if anything I said is incorrect. I'm more than willing to do all the learning necessary, just a point in the right direction would be greatly appreciated.

  5. #5
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    The only other option I can think of (that hasn't been recommended already) is if the object(s) that you want to show in the xref are on their own layer you can simply freeze the other layers.
    In other words, you would xref the file, xclip if necessary and freeze the other stuff you don't want to see which would result in showing just those object(s) you want to see.

    Like I said, this will only work if the object(s) are on different enough layers to isolate them from surrounding objects.

  6. #6
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    That actually would suit my needs with just minor layer changing... thanks all

  7. #7
    I could stop if I wanted to
    Join Date
    2009-10
    Posts
    262
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    I apologize that would not work seeing it would only allow me to show that referenced object one time...

    If I were to ncopy, or copy selection within xref edit in place it would duplicate the object within the reference drawing hence depleting the purpose of xreffing the object to save space

    If I could somehow reference a drawing multiple times that could work...Assuming I can't, hence the reasoning for asking if I can make that happen with C++/F# or by editing a previously created class

    1. Any Ideas if that can occur and where I may want to search for answers?


    The object is a dynamic block with attributes so I could burst it but that would take about ten times as much space. That ten times as much space is why I feel xref object would be extremely useful for all autocad users worldwide.
    Last edited by mbrandt5; 2015-04-22 at 03:33 PM.

  8. #8
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    Quote Originally Posted by mbrandt5 View Post
    If I could somehow reference a drawing multiple times that could work...
    Should have asked that from the start, many years ago before Layer Overrides I used to do that on a regular basis. I would insert an xref, rename it with the RENAME command, reinsert and rename it, then I was able to control layer settings of the xrefs in different viewports. Nowadays I just use Layer Overrides to do that.

  9. #9
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,507
    Login to Give a bone
    0

    Default Re: xref object from source dwg only

    Quote Originally Posted by Tom Beauford View Post
    Should have asked that from the start, many years ago before Layer Overrides I used to do that on a regular basis. I would insert an xref, rename it with the RENAME command, reinsert and rename it, then I was able to control layer settings of the xrefs in different viewports. Nowadays I just use Layer Overrides to do that.
    Hey, me too!
    In fact I still do that on occasion even though layer overrides per viewport exist.
    I like the control-ability in MS when doing this.

Similar Threads

  1. 2014: Xref Object
    By mbrandt5 in forum AutoCAD General
    Replies: 8
    Last Post: 2015-04-23, 07:43 PM
  2. Match layer properties from xref source
    By Wish List System in forum AutoCAD Wish List
    Replies: 4
    Last Post: 2012-05-10, 12:10 PM
  3. Match layer properties from xref source
    By Wish List System in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2011-10-25, 01:21 AM
  4. Replies: 0
    Last Post: 2011-10-11, 09:47 AM
  5. Adding object data to a feature source
    By bmonk in forum AutoCAD Map 3D - General
    Replies: 4
    Last Post: 2008-11-21, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •