AutoCad :: Check Drawing To See If Its Been Cross Referenced In Another File?
Dec 13, 2011Is there a way to check a drawing to see if it's been cross referenced in another file?
View 1 RepliesIs there a way to check a drawing to see if it's been cross referenced in another file?
View 1 RepliesI use a building key for building reference (inserted as a xref into the individual drawings) in many of my drawings. I have layers for specific areas and rooms. I turn off the layers on the appropriate drawings (if the drawing is for room 301, I make sure all other layers are off and only 301 are on).
My problem come when I add a new layer to the key and since the key in xrefd into many drawings it shows up as always being on.
This makes to have to go back and do a little bit of layer control each time I change the xref.
VISRETAIN=1 only keeps the layers set to last save and everything added to the xrefs are basically taken from the xref (color, visibility, etc). Is there a way to set a variable so that you have to check the new xref layers before they show up on the referenced drawing?
I have this file that won't open in AutoCAD Architecture 2012, well let me rephrase that, it won't finish opening. It has 4 or 5 xref's attached. I was able to open this same file using 2010. Through process of elimination I was able to determine that a file that was exported from Revit MEP 2012 was the problem. When that file was detached the drawing would open just fine. To make things more interesting, I am able to open the Revit Export file just fine using 2012. What diabolical combination of event has happened to cause this SNAFU.
View 2 Replies View RelatedI have scenario where user can open the drawing using filepath like given below
Application.DocumentManager.Open(filePath, IsReadOnly);
And it is working fine.
I should allow to open the file, if file is already opened state.
At my company we use part numbers as file names for everything. for example, part number 09090P00100000, will be saved as 09090P00100000.ipt and will have a drawing saved as 09090P00100000.idw.
Within the drawing template file, i want to set up an ilogic rule that will check that the part present in the drawing corresponds to the file name of the drawing. This rule will run after saving and will just display a warning if the file names do not correspond.
I just need some code that will get the file name of the part displayed in the drawing. Note that we use iparts so the code must get the member file name and not the factory file name.
Dim oDrawingDoc As DrawingDocument
oDrawingDoc = ThisApplication.ActiveDocument
Dim oSheet As Sheet
oSheet = oDrawingDoc.ActiveSheet
[Code] ........
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
I have a 2 part assembly on a drawing. When I use the following code, checkFilename is giving me the full file name of one of the parts instead of the full file name of the assembly. How can I fix this?
Dim checkBalloon As Balloon
Dim valueSet As BalloonValueSet
Set valueSet = CheckBalloon.BalloonValueSets.Item(1)
Dim checkFilename As String
checkFilename = valueSet.ReferencedFiles.Item(1).FullFileName
I am inside a idw that has views for couple of parts. From within the IDW is there a way to know the paths of the location that the parts are from?
I know if I use a design assistant I can know, But from within IDW?
C1
Inventor Professional 2013
Vault Collaboration 2013
Is there any way to determine the source drawing of a dref'ed object? I'm not seeing anything in COM or the .NET API's, hopefully I'm just not looking in the right place.
View 5 Replies View RelatedHow can I screen back an aerial that is being x-referenced into a drawing?
View 5 Replies View RelatedIs it possible to contol the visibility state of an external referenced drawing? I have an architectural plan drawing that uses a titlesheet drawing as an external reference. In my civil plan i want to use a different title sheet. Instead of having a different titlesheet drawing for the civil drawing i was wondering if i could turn my titlesheet drawing into a dynamic block. In my architectural drawing i would see visibility state #1 & in my civil drawing i would see visibility state #2.
View 1 Replies View RelatedWhen creating my plan set, I need to data reference pipe networks into other drawings than that in which they were designed to show crossings in profile views or to separate out profiles into managable drawings. When I do this, if I have swapped a type-13 inlet for a 10' type R inlet or something during design, the data referenced pipe network will replace the 10' type R with a default inlet. Also if I have swapped a proposed 30" pipe for an existing 30" that have different styles, the data referenced pipe network will revert back to the proposed 30" pipe. how to make a data referenced pipe network reflect what is currently in the design drawing?
View 9 Replies View RelatedI am trying to export the following .dwg file to .stl format but the object that has been externally referenced does not make into the .stl file.
here are the files...
complete turret.dwgkinect model.dwg
I am writing a external ilogic riule, which will iterate through all the referenced documents of the active assembly and write certain iproperties to a text file.
The code is below
It works in that the text file is created and it does write the iproperties. HOWEVER it only writes the iproperties from the active assembly
' go through all referenced documents in a assembly . Grab the description,title and part number iproperties
' and print out a list
If Not ThisApplication.ActiveDocument.DocumentType= kAssemblyDocumentObject Then
Return
End if
[Code]....
How can i fix this code so that it writes the iproperties for each oFileRef ?
I am using Inventor 2012 64 bit with Win 7.
We have a lot of drawing that has some extra sheet for ref. and Inventor let me exclude count and print from those extra sheet. This work fine but when we check-in the drawing to vault it update or publish all sheet to dwf. This is very compass for us because we full the dwf file from vault to release and the sheet count is different than the print out.
Is there a way to EXCLUDE those sheet when check-in or update dwf?
I'm wondering if it is possible to check-in drawing into vault using i-logic?
If you check-in a drawing into our vault, it automaticly exports a .dwf to a storage server. We also have a simple button for making .pdf of the drawing to sent to the customer.
What i want to ensure is that the .dwf file and the .pdf file are the same. So when i press "make a .pdf" the rule will save my document, make a .pdf and (if possible) check it into vault. So from that point the .pdf for the client and the .dwf on the server are the same.
Inventor 2013
How can I check with which autocad version a drawing is saved?
View 8 Replies View RelatedIs there a way to check in VBA if the design doctor has found errors in a drawing? I have a mass print script and it'd be handy to be able to skip printing any drawings that have errors like unatached dimensions and such.
View 2 Replies View RelatedI am working on a project to assign balloons to components in drawing view automatically. Of course, I don't want to assign a balloon to a component which is invisible (hidden) in this drawing view.
So, is there any API function to check whether the component in the drawing view is invisible or hidden?
I have cross section data of the existing ground in the form of offset elevation. Can i draw cross sections from the this data? I am using Autocad Civil 3D.
Formate of the data for one section is:
Station 12+000
offset Elevation
-25 350
-20 347
-15 348
-10 346
[code]....
I want to create cross sections in a blank drawing via a Data shortcut Project.
My intent is to keep my file size to a minimum. I can include surface, alignment and profile per data shortcut but not my corridor. My corridor is 3000 feet long and when I do cross sections in the same drawing, it runs real slow.
Is it possible to scale the cross-hatching in a detail that was created from a section view so it looks better with the scale of a detail? If the scale factor of a detail is much larger than its parent, the cross-hatching is very sparse and detracts from clarity rather than adding to it.
View 2 Replies View RelatedI need to export data to an excel file but I need to check if the file is already open.
Searching the internet I found this but I don't know what "imports" to use to use to enable it.
Public Function FileInUse(ByVal sFile As String) As Boolean If System.IO.File.Exists(sFile) Then Try Dim F As Short = FreeFile() FileOpen(F, sFile, OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.LockReadWrite) FileClose(F) Catch Return True End Try End If End Function
My problem now is that i have piles of gravel & sand, i got the volume on each pile for and now want to make a cross section drawing showing the elevations on them. I went to section views and create mutiple views but it asks me for a aligment, but i just want to base the drawing off the contours of the piles (elevations)
View 5 Replies View RelatedI'm looking for a way to programmatically check if a dll file is a AutoCAD plug-in, preferably getting the version too.The only thing I can think of is using
System.Reflection.Assembly.ReflectionOnlyLoad()
to load the dll, search thru its references looking for Acad-specific (acdbmgd etc.) get the reference version, compare it to a list....
I am trying to annotate a floor plan to show the location/orientation of section, elevation and detail drawings. The labels must also indicate the appropriate drawing cross reference. (basically a circle with a arrow, text inside circle showing drawing cross reference). My question is - is there an automated way/library to insert such labels or do I have to create each of them from individual elements and make a block?
View 1 Replies View RelatedWhen I click on a civil 3d object the contextual ribbon will light up (which is fine) but instead of my cross hairs comming back in the drawing window I get the pointer that would be used to select an item in the ribbon (in the drawing area) and I have to click in the drawing area to get my cross hairs back or to grip edit the object or to delete the object.
Is there a option/setting I need to change to be able to get me cross hairs back after selecting a civil 3d object?
Just move to Civil 3d 2012, this worked just fine in '11...
I was wondering is there is a way to select an Inventor part file and see which assembly file or files that is is currently used in ? It would be extremely useful to be able to see a list of all the assembly files which are using one particular part so when modifying the part you would know which assemblies would change.
Product Design Suite Ultimate 2013
64-bit HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)
check and see if there is a "Modeldoc.cuix" file included in your Civil 3D directories anywhere?
This would include under your user profile, and under C:Program FilesAutodeskAutoCAD Civil 3D 2013
I have a "steelplt.png" file that Inventor tells me is not in the correct library path. The problem is that it is in the correct path as defined by the project file. I cannot check in dwg because the "steelplt.png is not in the correct library path".
Product Design Suite Ultimate 2014
Vault Professional 2014
Windows 7 Pro SP1
HP-Z400: 2.67 GHz 12 Gb Ram
Nvidia Quadro FX1800 driver 276.42
I have imported a .dxf file of a surfboard from another program as seen below. My plan is to create various cross sections of the board in order to cut out a wooden frame. It seems like it should be simple enough but I usually use pro/engineer for any 3d stuff and I have had no luck using the section plane feature on autocad so far.
View 4 Replies View Relatedif I open a drawing with DocumentManager.Open("drawing.dwg", false) and it is already open (or the user has no rights to write to it), the drawing is opened in READONLY mode without warning.
Is there way to check if DocumentManager.Open("drawing.dwg", false) will open the drawing normal or READONLY?