AutoCAD Civil 3D :: File Contains External References Function Fails
Jun 27, 2013
I'm trying to adjust the properties of some block objects in Mspace. When the file contains external references the function fails, when it has none it works perfectly.
Dim modelSpace As BlockTableRecord = DirectCast(M_trans.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(db), OpenMode.ForRead), BlockTableRecord)
For Each id As ObjectId In modelSpace
Dim ent As Autodesk.AutoCAD.DatabaseServices.Entity = DirectCast(M_trans.GetObject(id, OpenMode.ForWrite), Autodesk.AutoCAD.DatabaseServices.Entity)
ent.Color = Color.FromColorIndex(ColorMethod.ByLayer, 256)
Using the above to get all objectid's and filter through them then using:
If TypeOf ent Is BlockReference Then
Dim br As BlockReference = DirectCast(ent, BlockReference)
Dim btr As BlockTableRecord = DirectCast(M_trans.GetObject(br.BlockTableRecord, OpenMode.ForRead), BlockTableRecord)
If Not btr.IsFromExternalReference Then
View 6 Replies
ADVERTISEMENT
Aug 20, 2013
Here is the background.
A "MODEL" drawing exists that contains only the surface model. The surface model is data referenced into a "LABEL" drawing that contains the surface style (contours), contour labels, and spot elevations. This "LABEL" drawing is xref-ed into a "SHEET" drawing that contains the title block and some other xrefs containing the proposed layout, ex cond, etc..
When I open the "LABELS" drawing, the data reference works. My problem is that when I open the "SHEET" drawing, the contour labels and spot elevations cannot find the referenced surface and just contain a string of 20 or so characters.
I already have a workaround. If I open the "SHEET" drawing, then open the "LABELS" drawing and save it, I can reload the "LABELS" drawing within the "SHEET" drawing and the problem is solved.
HOWEVER, I have a bunch of sheets that I want to publish, and publish does not work when you have to open the file and re-reference everything. Is there anyway to get this reference working correctly so that I do not have to open multiple drawings to get my data correct?
FYI, I have already tried resetting my data shortcuts project folder, validating data shortcuts, etc. in the "LABELS" and "SHEET" drawings.
Civil 3D 2012, SP 2.1
View 2 Replies
View Related
Jul 21, 2011
I needed to use an xref so loaded up the external references box to view all available xrefs. Since i did this i cant get rid of the xref box. Its there whenever i load cad up, load a new drawing and when switching clean screen on and off. Ive tried the close button in the top corner but it still returns.
View 8 Replies
View Related
Jul 23, 2012
How to use External references?? i have worked in autocad but i dont know how to use this command, i have to do about 250 drawings of External references.
View 3 Replies
View Related
Jun 19, 2013
I want to load the external references in the drawing, how to implement this program?
I returned to the drawing path and the way I want to load it using the insertion point.The code error is probably somewhere not understand where.
[CommandMethod("TDMSXREF", CommandFlags.Session)]
publicvoid TDMSXREF()
{
Document doc = Application.DocumentManager.MdiActiveDocument;
Database db = doc.Database;
Editor ed = doc.Editor;
[code].....
View 1 Replies
View Related
May 2, 2011
Is there a procedure or command to use on an opened drawing to see if the drawing is used as an external reference anywhere else? For example, can I open Drawing A and determine whether it is used as an external reference in Drawing B without going to Drawing B and looking at the external references palette?
View 1 Replies
View Related
Jan 31, 2012
I've been asked to create several drawings using one external reference which contains doors, bund walls, lighting etc. My question is how do I take this external reference and create several new drawings when I cant even turn layers on or off once I have inserted it onto my new page?
View 4 Replies
View Related
Nov 1, 2013
I have a DWG file with wipeouts. When I use the files as external references in another DWG and print to PDF the wipeouts do not work and all that is seen is the wipeout line. Is there a way to have the PDF have the wipeouts appear as they should?
View 3 Replies
View Related
May 4, 2012
I use this palette all the time and keep the icon displayed (in hidden form) on every session that I open. I started AutoCad this morning and "external reference" icon was not displayed on the screen. I went to the tools tab and selected the external reference palette. A box was displayed that could not be hidden and all screen function were stopped until I closed this box.
I went to customize tool palettes and compared it to the properties palette and they looked the same. I want to get my external reference palette function back to the way it was.
View 1 Replies
View Related
May 11, 2012
I have a file that looks like it is going to open nice and fast and then it gets stuck at 50% synchronizing references. It literally takes over 5 minutes for the file to come completely up and ready to work on.
In the file I have an existing ground surface data reference and two corridors (with alignments, profiles and profiles views) that are basic access roads roughly 1200' long each with a very basic assembly. I also have a pipe network data referenced that is just a bunch of pipes that represent existing utilities crossing the access road so I can show them in cross sections. The final thing I have in here are 50' cross sections for each of these access roads.
why does it take me 5+ minutes to get into this file?
View 4 Replies
View Related
Nov 26, 2012
I have a data shortcut file where i keep my EG surface that now has File Name.dwg [DS] [DS] [DS] [DS]. What's the deal? Has this managed to morph itself into something it's not. It used to have only one, had two for awhile, and now 4 references to the DS (Datashort cut project folder).
Have I done something wrong here to get these wonky file names, would be nice to see just 1 reference being made to my DS Project folder.
View 2 Replies
View Related
Feb 28, 2013
I am trying to add a list of External References to MTEXT. The diesel expression $(xrefs) works fine within RTEXT but when I enter it into MTEXT the result shows "$(XREFS)??
View 2 Replies
View Related
Sep 20, 2011
is it possible to retrieve the names of all the nested external references, and how should it be done?
View 2 Replies
View Related
Nov 13, 2012
Is there a way to localize all external material references? For instants I created a framing square with the proper materials assigned. When merged with another file it looses its bit map image placement so have to re-fit every thing again.
View 8 Replies
View Related
Oct 28, 2013
I have an ilogic external rule which contains functions that I use from rules in my local assembly document. I'm trying to access the value of a parameter in the document from the external rule's function. Attached is a simple version of what I'm trying to do. If I manually run the external rule, it seems to work just fine, but when I call on the function from a seperate rule, its unable to get the parameter value. I get an error stating, "'Parameter' is not declared. It may be inaccessible due to its protection level."
'this is the external rule. if I run this manually, it works
Public Class test_functionsSub Mainmyresult = ""thisisatest(myresult)MsgBox(myresult)End SubFunction thisisatest(ByRef resultcreated As String)resultcreated = "it worked - " & Parameter("ParameterInDocument")End FunctionEnd Class
'this is my rule in the assembly document trying to use the external rule's function
AddVbFile "z_testrule.iLogicVb"Dim external_rule As New test_functionsmyresult = ""external_rule.thisisatest(myresult)MsgBox(myresult)
View 3 Replies
View Related
Jun 11, 2011
I have a file with a lot references of lot of files in autocad, and i want to make it just one will ( all the references toghether) so i can send that only file by email.Just one dfx file.
Is there any way i can put all references and the main file in just one file? But very simple.
View 3 Replies
View Related
Dec 13, 2012
I have created an animation and I would like clicking on a button (javascript) that is within the outer body, start the animation.
View 1 Replies
View Related
Aug 15, 2013
I have a recurring problem that I can't seem to figure out. I have my existing grade TIN surface as a data shortcut into my roadway design file, but it sometimes will not update when opening the drawing. The surface profile will not display until the surface is manually synced. Any labels that are associated with that surface (or other object) will just display the ??? because it can't seem to connect to the data. After a manual sync it seems to come back.
View 9 Replies
View Related
Dec 3, 2012
How do you sort data references?
[URL].....
Civil 3D 2012 (64)
Windows 7 Pro (64) SP1, 16 GB
AMD Radeon HD 6900
View 8 Replies
View Related
Jul 8, 2013
Possible to open a drawing that was created with AutoCad Civil3D 2011 and create all of your Civil objects and data references if it is a bad idea to then open it at a later date in AutoCad Civil as Autocad 2011. Does this effect any of the data in the drawing. It has been recommended here that we do this for making minor line/text edits as some folks have slower computers that cant handle the civil side of the program.
why we are constantly facing corrupt drawing files that lose references.
View 4 Replies
View Related
Jul 8, 2013
A co-worked has made a mention of "Reference Alignments not found in Reference Drawing" error message popping up multiple times this morning and said he thinks it is a trendd in many drawings that have been worked on. In my experience this message pops up if you move the location of the reference drawing, or change the name of the alignment without synchronizing.
The issue is it has been said that this is fatal erroring the drawings.
I have not worked on the project myself and am just relaying what i heard-
I know this is a very vague question, we have 2011 Civil 3d
View 1 Replies
View Related
Jun 18, 2012
C3D 2013.Is there a way to search the C3D styles for references to textstyles?
IOW - I know there are references to a certain textstyle in this drawing, how to find it/them without manually inspecting each style?
View 8 Replies
View Related
Feb 9, 2013
Is it possible to create more than one data reference at a time?
I have approximately 30 alignments with over 100 profiles in my profile design drawing. The interface to create the data shortcuts allows me to do so by selecting multiple alignments and profiles. This works well and is efficient. To create the data references I have to create the reference for each alignment and profile one at time. I estimate this will take at least 30 minutes.
I am using Civil 3D 2012.
Civil 3D 2012 SP3 | Win 7 64-bit SP1
Xeon E5-1620 @ 3.60GHz, 16GB Ram | NVidia Quadro 600
View 1 Replies
View Related
Apr 8, 2013
I know the difference between attach and overlay for reference files.
The problem here is that the xref IS attacehd as an overlay and I am still not able to detach it.
I am working on WisDOT transportation plans. For those that are not familiar with these projects, certain reference files must plot black in some plan sections, but grey in others. When we submit the plans to the utility companies, all utilities must be black. but are grey in everyother submittal. I changed the xref level attributes to plot black with the intensions of detaching the xref and reattaching to revert back to the orignial grey level attributes. Is there anyway that changing the level attributes is somehow not letting the xref be detached?
Intel Core i5-2500K CPU @ 3.30 GHz
8.00 GB
64-bit
View 1 Replies
View Related
Nov 17, 2013
We recently started using Civil3d 2013. We made a huge jump from LDD 2008. We have profiles designed and data short cuts are created. We have existing and proposed.
Now i've created a reference and brought them into another drawing. First I tried to set up the color and linetype for each profile. When I do this. Both the existing and proposed become the same color and linetype.I do not see how to select the existing from the proposed and set the color and linetype.
Next I select the proposed profile and right click and select Edit Labels. I start to create the PVI labels. When I do this the PVI's for the existing profile get labeled. I want the proposed profile labeled. Not the existing.
View 3 Replies
View Related
Aug 21, 2012
After using Autodesk recommendations for a clean install, remove programs, remove files and remove registry edits I can not delete the file
C:Program FIlesCommon FIlesAutodesk Sharedacsigncore16.dll
How this file is still in use if all Autodesk files and references were removed?
View 4 Replies
View Related
Apr 5, 2012
We just discovered data at our office, and I am pretty stoked about them 90% of the time. We do have one problem with them though. We are doing a small road, with 10 or so alignments and a few pipe networks of 40 pipes and structures. 1 surface, and that is about it. I made a cross sections sheet with our design file xrefed and data references to everything in it. Now it won't open. I can copy it to my local hard drive, run a recover, and then open it, save it back, add in all the data references and redo labels, but I can't open it from there.
Is there some way to have it open without syncing?
View 5 Replies
View Related
Dec 30, 2013
URL....I have a jpg file that I needed to apply some transparency to and saved it as a png file. I now want to delete the jpg file but it's being referenced in several drawings, but I don't know which ones. Is there a way to reverse the function of Reference Manager, ie find all the drawing files that reference my jpg file?
View 2 Replies
View Related
Feb 4, 2013
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)
View 9 Replies
View Related
Sep 26, 2011
I cannot open anymore an IPT file (an error comes up). I know that the IPT file contains multiple references to other IAM´s and IPT´s via "Derived parts"; is there a tool to show all the references inside an IPT file?
View 9 Replies
View Related
Aug 28, 2013
I am working on roadway project where I am using Pipe Networks to layout the drainage infrastructure. I have set my working dwg up so that I am data referencing the existing surface and proposed alignment. I have set my pipe network up so that it is also referencing this surface and alignment. Everything was working fine. Labels were pulling the correct information from my surface elevations, and stations were being referenced as well, until I got a message that recommended that I recover my drawing.
I ran recover and my surface and alignment data shortcut disappeared. My pipe network now shows questions marks where there were once stationing and it appears that the surface and alignment have completely disassociated themselves from my drawing, however they appear in the prospector, but cannot be refreshed. Again the data shortcut symbol is no longer next to my surface and alignment, but there is a symbol telling me that those objects are being referenced by another object in my drawing (my pipe network). I have tried refreshing, resetting the working folder, all to no avail.
View 1 Replies
View Related