AutoCAD .NET :: Customization Using RealDWG
Nov 13, 2013
We people are doing the Autocad CAD customization using COM & .NET API.
Now I have heard that we can read or write thedwg file using realdwg toolkit without installing AuotCAD on my machine so it is beneficial that we can do without AutoCAD.
Rather than this advantage, how it can be usefult to our team if our organization will but it ?
View 2 Replies
ADVERTISEMENT
Jun 24, 2011
Does RealDWG support output DWG file to PDF or DWF format? We can't find those method in the RealDWG toolkits.
View 6 Replies
View Related
Aug 29, 2011
Is it possible to get a listing of all of the X-Refs contained in a particular document. I am attempting to do this with the following
db.ReadDwgFile(testFileName, FileOpenMode.OpenForReadAndWriteNoShare, true, null); using (var tx = db.TransactionManager.StartTransaction()) { var xrefGraph = db.GetHostDwgXrefGraph(true); for(int i = 0; i < xrefGraph.NumNodes; i++) { XrefGraphNode xgn = xrefGraph.GetXrefNode(i); Console.WriteLine(xgn.Name); } }
I know that this drawing has 3 attached X-Refs, but none are coming up in the node graph.
View 1 Replies
View Related
Sep 24, 2013
Is there a way to access AEC object (AEC_WALL etc.) properties from RealDWG? I am able to get the class name AecDbWall. And even the extents of the entity.There are some Aec*.dll files in the RealDWG folder but I am not sure what to use to get the properties of Wall,window.I'm using visual C++. I have installed the object enablers of Architecture Structure Drawing, MEP, and also of Civil.
View 1 Replies
View Related
May 24, 2013
I have developed a C# winforms app with RealDWG SDK. When I close my form I get the "App has stopped working" error below. I've added in some Dispose methods to see if that was the issue, but I still get the error.
I added a dispose method to my HostApplication class and I called my Winform dispose method. I thought that the error was caused by unfinished RealDWG business at the Form Closing event.I am using RealDWG 2013, Visual Studio 2010 SP1, Windows 7 64-bit. I also have AutoCAD 2012 and 2013 installed.
I know that AutoCAD and RealDWG both use acdb19.dll. My app contains 6 classes with around 1000 lines of code on each class, so to paste in my code would be impossible. Here is my code structure.
I start by implementing a HostApplicationService Class (MyHost.cs)
Then I call my Windows Form. (MainForm.cs)
From my form I collect object data from a SqlDatabase.
Once the data is acquired, I send the data to a Class that handles my AutoCAD classes. (AutoCAD.cs)
In this class I create my RealDWG Database.
Next I pass the database to various IDisposable classes that perform AutoCAD actions.
I.E, CreateTitleBlock() CreateLayers(), DrawShape(); etc..
Everything works great, except when I go to close the app, I get the error. I dispose everything I can think of right before exiting.
I've tried:
this.Close();
Application.Exit();
How to dispose the app or close it cleanly?
Here is the error....
Problem signature:
Problem Event Name: APPCRASH
Application Name: LongBayRD.exe
Application Version: 1.0.0.0
[Code] .....
View 4 Replies
View Related
Feb 20, 2013
In the process of cretaing an installer for a RealDWG based web application(VS2010 web setup project). The intended target environments for now will be win server 2003 and win 7. They will be fairly clean in the sense that no other autodesk or realdwg based products are installed or is planned to be installed.
The tips and techniques chapter of the RealDWG documentation have a section of how to create an installer and it says that all merge modules from the Redistrib folder should be added to the installer.
However the Redistribution requirements chapter mentions that for Shapemager functionality either a couple of merge modules should be included (for read/write support) or a couple of other merge modules should be included(read only support).
I've tried to only include the mergemodules that are listed as required but that did not work when I tried to run the deplyed app. (acdbmgd.dll missed several dependencies to other dll's that were not listed as required). When trying to include everything I get errors when doing a validation of the msi in Orca(probably originating from the shapemanager mergemodules).
View 1 Replies
View Related
May 3, 2012
Trying to migrate my copy of AcadLT 2010 from and XP to Win7. I have successfully moved my menu customization, but do not have the custom settings for point mode/size and leaders that I had set. What file(s) am I looking to move to get this done?
View 2 Replies
View Related
Jan 29, 2012
I am in Customization of AutoCAD and the problem am facing is with dimensions.
Am able to get normal dimensions but problem lies in Parametric Dimensions. How to perform this Linear Constraint Dimension?
View 5 Replies
View Related
Jun 10, 2013
my client is having an issues when she opens AutoCAD Arch that the attached image shows up...
I have never seen this before, but then I did not do a lot of customizations
View 3 Replies
View Related
Aug 15, 2012
I am now looking to work with custom iProperties that will populate our company's new BOM standard. I have not done much with regards to customizing a BOM (I've always used the generic fields). Now my boss has come to me and wants to use the following headings for our BOM....
REF ID, QTY. , DESCRIPTION, SHAPE, SIZE, LENGTH, MASS, TOTAL LENGTH, TOTAL MASS, COMMENTS, REF. DWG.
REV., REV. DATE
While I understand some of these fields will require the user to manually type information in (Comments and Ref. Dwg.) The others, from my understanding, can come straight from iProperties or Parameters. I am running INV Pro 2013.
View 1 Replies
View Related
Oct 4, 2012
Is there a way to customize the BOM columns so that Inventor remembers which columns I need? I know that I can add in the file name column etc. but I use the same columns over and over. I find myself in every assembly adding these columns in.
Autodesk Inventor Professional 2010
View 2 Replies
View Related
Sep 28, 2012
I'm trying to do a customization of the Bom structure to obtain a new custom column "Qty*x" (where "X" is a number).
I need this because in my order I have multiples of these items.
View 1 Replies
View Related
Aug 27, 2012
So when using C3D, I have my right-click setup so that when I click on an object, say a multi-leader, surface, etc, a long menu pops up with object-specific options. Such as multi-leader styles and scales, pipe network options, etc.
So today, AutoCAD decided to be lazy and not show that menu. I've tried turning off the R-C customization, then turning it back on, switching the custom options around, applying, then setting them back to the way I had them, starting a new drawing, restarting CADD, and finally restarting my computer. NOTHING.
This has happened to me several times in the past and it just starts working properly again at some point. To draft, modifying C3D objects, without the r-c menu is such a time consuming PITA.
View 2 Replies
View Related
Aug 1, 2013
On older versions of Acad, I was able to go into the .mnu file and do a macro such as follows:
***POP10
**LIB2
ID_MNLIB2 [&Lib2]
[->Bolts]
[->Bolt ****'y]
[#10]^C^C-insert;F:/STD/LIBS/BOLT-01/BOLT010A;;;;
[* 1/4]^C^C-insert;F:/STD/LIBS/BOLT-01/BOLT025A;;;;
[5/16]^C^C-insert;F:/STD/LIBS/BOLT-01/HH031A;;;;
[*3/8]^C^C-insert;F:/STD/LIBS/BOLT-01/HH038A;;;;
And a new pull down menu would be created and my listing of bolts could be inserted from the std libs bolt file as I clicked through the route. I developed all of this on older versions at a different company. With 2014, I went to the CUSTOMI ZE under the main Drafting and Annotation / AutoCAD Classic pull down and created a New Menu, renamed to BOLTS and then pulled the INSERT command and dropped it ontp the BOLTS pull down and changed the DISPLAY NAME to 1/4" and edited the MACRO from ^C^C _insert to ^C^C_insert;F:/STD/LIBS/BOLT-01/BOLT025A;;;; Seemed to work fine....until I added another 10 bolt assemblies and then noticed that they all showed up as whatever the last bolt I had put in the Macro line was. The display name stayed correct but the insert was gloabally changed on all pull down to whatever the last item was. I have reset 2014 back to the original settings now to clear out everything I had done.
View 6 Replies
View Related
Jul 3, 2013
My right click customization, which would bring up properties as an option, or could unlock a viewport by selecting it and right clicking. and can also select an x-ref to open, or edit in place, and modify attributes, etc.....has disappeared.
All I get now are basic pan/zoom commands, action recorder, clipboard, etc.....I checked my options, nothing has changed in my right click customization field, but for some reason, it's just not working. Any way to get that back?
View 3 Replies
View Related
Feb 9, 2012
I have been working on creating custom content center families that will populate our company's part numbers and descriptions into the browser and drawing BOM. I have been quite successful in this except with the material. I've created custom materials for the fasteners that have the specified strengths and finishes per the fastener. By doing this I've created a different problem.
How can I create a custom property that will insert a specified value for material into the BOM? I've tried to change the link for Project.Material and then the part inserts as Inventor's default. I don't think creating individual material styles for each fastener is a viable one since I'll end up with duplicate style names.
IV 2012
Running on:
Windows 7 64 bit
12 GB Ram
Intel Xeon processer
View 3 Replies
View Related
Jun 18, 2012
when I wanted to copy objects from one drawing to another or even inside of one drawing, I could right click, "Copy with Base Point" . In 2013 (possibly before) they moved that command along with copy, paste into another command called "Clipboard".
I've been searching for a way to customize that to remove that extra click to access a commonly used command with no luck.
View 2 Replies
View Related
Jan 16, 2012
Is it possible to have the area portion of the PROPERTIES PANEL display Acres instead of, or in addition to, square feet for a closed object? If so, how to I accomplish this?
View 1 Replies
View Related
Aug 29, 2012
I have created a drawing from the parametric model assembly where i have clevis, lug plate and pin arrgt.
the model has been generated using the input excel spreadsheet where i have given the inputs like clevis thk, lug thk,pin dia etc.,
while creating the drawing partlist i have included the column of clevis thk, lug thk etc., using the iproperty, but these columns are coming separately, i just want the thk of clevis and lug in the same column so that i will make Bom for the assembly.
How to get the parametric inputs in the same column of the patlist in drawing.
View 2 Replies
View Related
May 6, 2013
how to load .NET project dll file in AutoCAD LT for customization ? Because in plain AutoCAD command is there named NETLOAD to load DLL file but this command is not working in AutoCAD LT.
View 1 Replies
View Related
May 27, 2013
I have altered my CUI so when I double click on civil 3d objects it opens up their properties for quick editing. Never had a problem pre 2013 and I am sure this is something I did but am lost.
Every time I double click on any object it just opens up the properties box. It skips right over my double click customization.
View 3 Replies
View Related
Jun 14, 2012
I am using civil 3d 2012 and i want to use rail assembly for my single track rail project. i want to know how can i customize my assembly. As in given defaulf assembly i can keep the width of sub base same on both side of track centerline. But my requirement is to use different widths on left and right side of centerline of track.
View 1 Replies
View Related
Oct 22, 2012
im using acad 2010 in work and in home. i want full sync of all the customization i'vei made in both sides. itried to use a cloud service like Dropbox, i copy and paste there all the supportfiles and i set the path to there inboth machines but for some reason acad wouldn't use it.
View 9 Replies
View Related
Nov 25, 2008
I need to add weight to my parts list and notes for both parts and assy. Is there a way to get the weight parsed out from the model without the "lbsmass", just the pounds number no nomenclature I have a couple of other questions on parts list customization also. Also are these better questions for the customization group?
View 2 Replies
View Related
Apr 23, 2012
How to do the Properties window customization as shown in my attachment.
View 1 Replies
View Related
Nov 27, 2012
unable to load customization file:
c:usersdantappdata
oamingautodeskautocad mechanical20152
18.2enusupportacetmain.cuix
that customization group already exists.
I have two boxes here where something seems to create a acfusion.cuix, an aliasconcept.cuix and a acetmain.cuix. If I unload them and restart, I dont get the error but the have been created. Could a startup lisp be creating these? I havent done anything with lisp files. the target in the shortcut doesnt seem to be pointing to a lisp file.
We dont need these cuix files how can I stop them from being created on start up?
Dell t1500 i7 8 gb ram
Windows 7 64 bit
ati firepro v4800
View 3 Replies
View Related
Apr 7, 2012
I've been using ACAD LT 2013 successfully, until the message started flashing on my screen "Sync Error, A customization sync error has occurred" It does not allow me to turn it off.
View 3 Replies
View Related
Jun 26, 2013
Earlier I`ve used a simple code from Rob Cohee to update the title blocks and it works like a charm, however, now I would like to try to kick it up a notch.
If (ThisDrawing.ModelDocument Is Nothing) Then ReturnmodelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)iProperties.Value("Project", "Part Number") = iProperties.Value(modelName, "Project", "Part Number")iProperties.Value("Custom", "Client") = iProperties.Value(modelName, "Custom", "Client")
I`m working with several similar projects where the Inventor models and IDW`s is copied from one project to another. A typical project can consist of 50-75 drawings and the only properties needed to change is Client, project number and drawing number (consisting of the project number and a suffix, ex 123456789-125).
I would like to try to make an .ini file with these 3 properties in the root of the project folder so they can be changed and updated easily.
View 3 Replies
View Related
Jun 6, 2012
I've been forcing myself to accumulate to the new marking menu and gestures system. I'm starting to get used enough to them to see that it's really worth it.
I've found that the defaults are crap for what I do in IV, which is fine because I can customize it to whatever I do use.
However, when I RMB on a component pattern it displays a unique menu for which there appears to be no option for under customization. I'd really like to replace the craptastic useless options with things that I actually use.
By the way, why does AutoDesk neglect component patterns so much?
View 4 Replies
View Related
Feb 13, 2013
I added the Layer group (On / Off Freeze Lock / Unlock and Layer name) to the Quick Access Toolbar. I only see the first part name of the layer. Is there a way to stretch this part of the group in the QAT tool bar so I can see the more of the layer name? The partial name and layer color may be a sufficient clue as to the whole layer name over time. Would be nice to see the whole name until then.
View 1 Replies
View Related
Jun 21, 2013
Question regarding view labels in drawings.
I want to change the appearance of the view label to look like attached snap shot. Is this possible? I have looked through the inventor settings but cant find any options.
As a possible solution I can always create intelligent symbols which update with the drawing (like the standard view labels) but before I begin creating these I wanted to check if there was any other way?
View 3 Replies
View Related