I got some taught about the CAD secondary development.I use a dll 'Teigha' to analysis the dwg file. But there no have any API can get the CAD drawing's xrefs ,so How to got the drawing's xrefs. I tried to get the xrefs's path and analysis it as a normal drawing(I save the xrefs data to the main drawing (I think when I finished it and it can become one drawing )) but I got nothing.Why? Then I found even though I got the all data(main drawing and xrefs) I still cannot get the correct data because the xrefs in the main drawing cant copy paste .I cannot get these change,Only I can got the origin xrefs. So what can I do ?
1
There are 1 best solutions below
Related Questions in AUTOCAD
- How to use custom class created by ObjectARX
- How to copy and paste an autocad table using python
- Loading ARX module fails without information
- Circular profiles on the hallow sphere in Autodesk Inventor
- GDAL ogr2ogr alternative that uses multiprocessing
- How do CAD applications handle out-of-range characters in SHX fonts?
- To Set a System Variable Value With JavaScript API in AutoCAD
- I am trying to write a sanskrit mantra on autocad. When I preview the text, it is correct but as I plot the file to pdf, the 'maatra's' change
- LISP to Batchplot (Publish) Multiple .dwg Models into One PDF
- How to find a contour for a specified point using Autocad COM API?
- Issue connecting python to Autocad
- Autocad using pyautocad / comtypes to copy objects from one drawing to another
- Max input file size of Design Automation for AutoCAD?
- How do you get the coordinates of the boundaries of each closed area?
- How to find closed objects among an array of lines?
Related Questions in CAD
- Incorrect ARC dimensions showing up in ezdxf
- How do CAD applications handle out-of-range characters in SHX fonts?
- Autodesk RCP, RCS files reading
- I am trying to write a sanskrit mantra on autocad. When I preview the text, it is correct but as I plot the file to pdf, the 'maatra's' change
- Hexahedral mesh creation and adjustment for modeling of a 3D printing process
- Editing arc Normal Z within LW polyline in AutoCAD without exploding polyline
- Possible algo or approach to solve this type of floorplanning problem?
- Get all entities inside or crossing a given closed polyline using Ezdxf Python
- Read header dwg file format
- How to use the SIEMENS NX's "NXOpen" API in Python?
- Getting Boundary Edge of a Face on a Trimesh Object
- Detect rooms/enclosed spaces from List of Boxes
- Cadquery: how to create holes on multiple faces of a box?
- GSTARcad transient graphics
- Extracting occlusion data for blocks inside a dxf file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In Teigha, you must use the
OdDbXrefGraph.getFrommethod to obtain the graph of the Xrefs. After that, you can explore the graph in a way similar to this.