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
- Entities wrong when importing multiple DXF files
- How to Embedded Autodesk Viewer on winform vb.net
- Set default value for string prompt
- C# Code to Control AutoCAD's Camera
- Trying to read data from a DWG using Autodesk.AutoCAD.DatabaseService What DLL do I need to reference to?
- Using Python to count the number of layers in a AutoCAD file
- When I change an attributeReference textString property the position of my BlockReference changes?
- AutoCAD drawing (DWG) to map tiles
- DXF file does not open in AutoCAD
- Generate DXF drawing in Java
- vb.net autocad get blockreference winform
- Revit/AutoCAD Plugin connection to Webservice/Server possible?
- CAD secondary development
- How to get and compare 2 similar position points in different DXF file?
- Return first six characters of a binary file
Related Questions in CAD
- PowerPoint (or Excel) VBA Capture Coordinates of Mouse Click
- How to properly filter the different actions that may result from a mouse event?
- DXF file does not open in AutoCAD
- Generate DXF drawing in Java
- CAD secondary development
- Determine master point (key point) of 3D polygon, shape, surface
- Programmatically Creating CAD Files
- How can I increase the speed of redraw in AutoCAD like app
- DXF image entity group code explanation
- Data structure for CAD program. Mouse picking and rendering with one data
- There's any way to overlay an Image over autocad by holding some key?
- CAD mechanical bonds and kinematics
- Working with dynamic blocks in C # (for AutoCad)
- Reading STEP properties with pythonocc
- Creating free empty space between two planes in Solidworks
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 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.