AutoCAD .NET :: Access AEC Object Properties From RealDWG?

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


ADVERTISEMENT

AutoCAD LT :: 2014 - Properties Box Does Not Display Properties Of Selected Object

Jun 6, 2013

I recently upgraded from LT2013 to LT2014. I never had any issues with 2013, but now seem to be battling with 2014. My OS is Windows 7 Home edition.

When selecting an object and then clicking the properties menu, the properties of the selected object are not displayed, but instead the properties of the selected layer are shown.

In the attached screenshot:

1) My active layer is "AM_VIEWS".

2) The layer of the object that is selected is "MEDIUM".

3) The properties dialog box shows the properties of my active layer and not the selected object.

I am therefore unable to override any settings of the selected object and manually change settings e.g. Linetype, Linetype scale etc.

View 2 Replies View Related

AutoCAD Inventor :: AEC Exchange - How To Get Access To AEC (ABS) Properties

Aug 30, 2006

Is there a way to access AEC-data (connection properties etc) using the SDK?

View 1 Replies View Related

AutoCAD Civil 3D :: Created Project - No Access To The Figure Properties

Mar 7, 2013

Recently I upgraded to 2013 and I been having some issues with my survey DB, first of all I created a base data shortcuts project template folder with all my folders and a default Survey DB.

once I create my project, and import points to the default DB, I have no access to the Figure Properties. Is this feature, that worked in 11 & 12 now broken in 13? I have gone into the setting and copied a new files to the folder several times, to no avail, and there are no other versions of C3D on this machine.

So now that I have my points in the drawing, I go to translate them to my survey, generally I will utilize line in the drawing between field data, and platted data to translate and rotate to the platted lot or lots and the work from there on any calcs or changes. However, when my OSNAP toolbar is docked and locked and I go to select a point line the midpoint, I have no access to the OSNAPS. This also, worked in 11 & 12, but seems broken in 13.

View 1 Replies View Related

AutoCAD .NET :: Read Object Properties Of Object In XRef By Selection?

Jul 3, 2012

Is it possible to select an object for reading in an XRef?

PS I think it has something to do with  Editor.SelectNestedEntity() but it is the end of a long day and I can't fathom it out

View 5 Replies View Related

AutoCad :: DWG File Properties To Excel Or Access To Create Drawing List / Register

Jun 3, 2011

I am looking for a way to use the .dwg file properties of a drawing to generate an updateable drawing list/register. One that will update automatically as the file properties are updated. I have already created a title block that uses text fields to display custom properties of the file on my title block, such as the job no., drawing no. etc.

I have searched the web for answers, came across this site, joined and searched through it... There are a number of threads that 'sorta' deal with my needs but alway tend to digress more towards the "poster's" needs and away from mine. I noticed that they all talk about Lisp Routines and I have no knowledge of using them. Is that the only way to go or can I use another route? Another one was the Sheet Set Manager but I don't think that this is exactly what I am looking for...

View 1 Replies View Related

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 View Related

Edge Animate CC :: Can't Access Switcher For W In Properties Panel

Jul 26, 2013

Cannot access switcher for W in properties panel. Title field comes up instead.

View 1 Replies View Related

AutoCAD .NET :: RealDWG Export File To PDF Or DWF?

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

AutoCAD .NET :: XRef Listing With RealDWG

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

CorelDRAW X3 :: Object Manager Missing Object Properties?

Oct 24, 2008

Occassionally the object properties in my object manager will dissappear and I am unable to bring them back. I have tried toggling all the buttons on the manager, restarting corel, resetting corel to it's default settings and restarting my computer but nothing will bring back the properties. It does not happen on every single file but it happens often enough to be a pain. I have attached a picture of what the object manager looks like.

View 6 Replies View Related

AutoCAD .NET :: APPCRASH Error When Exiting RealDWG WinForms App

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

AutoCAD .NET :: Merge Modules For Installer For RealDWG 2013 Application

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

AutoCAD .NET :: Access Object Of Last Entity Modified?

Jun 29, 2011

Is there a way to access the object of the last entity modified.

If a dynamic block is changed I want to collect the changes.

I'm guessing I use the AcadDocument_EndCommand to kick off the routine but don't know how to identify the modified object.

View 2 Replies View Related

AutoCAD .NET :: How To Access Sub Object In Plant3D From C Sharp

Nov 20, 2012

I have a program in C# where i am trying to access a sub-object which is of type Connectors/fasteners.

In a drawing, I have an object with class (PnPClassname) P3dConnector, and when I click on it's red circle with <ctrl> pressed, I access an object with class (PnPClassname) BoltSet. I have added the event oDatabase.ObjectModified, but this only access the P3dConnector-object, not the BoltSet-object. See the image and attached file.

How can i access this sub-object? I have tried to loop through prompted result set using SelectAll. The P3dConnector-object is listed but not the BoltSet-object.

View 1 Replies View Related

AutoCAD Civil 3D :: Opening Object For Write Access

Mar 16, 2012

I'm upgrading some older COM based code to work in VB.Net with Civil 3D 2012. The app iterates through all of the Alignment objects, finding the ones with SuperEleveation, and places the names in a listbox. The user can select one or more of the alignments from the list to have the SuperElevation slope values modified. 

The problem I am having is when I get the alignment object to update I get an execption that the object is locked. It's probably something simple but I'm at a loss to where to go next.Here as a brief code snippet:

' Sub1 is called to find all of the alignment objects with SuperElevation
Sub Sub1()
Dim objCol As Autodesk.AutoCAD.DatabaseServices.ObjectIdCollection
Dim objID As Autodesk.AutoCAD.DatabaseServices.ObjectId
Dim tm As Autodesk.AutoCAD.DatabaseServices.Transaction
Dim myAlg as Alignment
[code]....

View 6 Replies View Related

AutoCAD .NET :: How To Get Object Properties By JavaScript

Sep 26, 2013

How to get the Object Properties by Javascript

I found that it is hard for me to get the property of selected object by Javascript.

Just like the following code, I can get the object ID of each selected entity. But when I want to get the property of the DBEntity, just the center of a Circle entity, or the Position.X of a Point, I dont know how to Continue. The getExtent is the only function that I can writeout the property, it is List in the develop guide.

function setPromptSelectionOptions(options) {
options.messageForAdding = "
Please select some entities"

[Code]...

View 2 Replies View Related

AutoCad 2D :: Missing Object Properties?

Sep 5, 2012

Juts had Acad LT 2009 re-installed on my new laptop, and all of my old settings, desktop preference etc have been wiped. No problem, couple of hours to set it back up.

BUT

When right-clicking on any object to bring up the properties, (line length, text height etc) the properties do not appear in the drop down box on the right, or in any 'quick properties' display

View 9 Replies View Related

AutoCAD .NET :: Error / Cannot Access A Disposed Object / Objectname / FrmBatchProcess

Feb 2, 2012

<CommandMethod("crane")> _ Sub Crane() Application.ShowModelessDialog(myForm) End Sub
 
Show it only happens after I've open the form once. When I close it and try to re-open it it fails to open.

How do I dispose of VB.NET objects...

View 3 Replies View Related

AutoCAD 2013 :: Access Solid From Drawing File Using Object ARX

Jun 7, 2012

I want to access the solid opened in AutoCAD from dwg file using C++ and Object ARX.

View 3 Replies View Related

AutoCAD .NET :: Add Custom Properties For Object (for Example Line)?

Aug 7, 2012

I saw that I can add Fields or store data in dictionaty, but those data are not showed in Properties Windows.

In not Acad-application (but .net application) I can create property description and add "virtual" properties with the use of designer. In Aced it doesn't work.

Is it possible to add custom properties from .NET?

View 4 Replies View Related

AutoCAD .NET :: Zoom Object And Text By Its Properties

Sep 9, 2013

i want to zoom object by its properties, such as  i want to zoom the object was using 0.13mm lineweights or zoom the text which was using 3mm testheight

View 3 Replies View Related

AutoCAD 2013 :: How To Edit Object Properties

Oct 4, 2013

My Acad experience is very old-school, and I have been away from true Autocad for a number of years.

I have been attempting to edit the properties of objects in the block editor and ran into a problem.

+ I select an object.
+ Right-click and choose Properties.
+ A list of properties is displayed, but they are not for the object I am trying to edit.

I did a test by selecting the object and using the command prompt, used the CHPROP command to change the objects color. It did change color as expected.

However, when I used the right-click/properties method, the properties shown do not show the new color. So, I suspect that my right-click/properties method is not showing me the object's properties.  But, rather the default properties when any new objects are created.

So, obviously right-clicking is not the way to get there.  What am I missing?

View 2 Replies View Related

AutoCAD Architecture :: Object Properties And Fields

Feb 19, 2011

I am working on a template for a project type (Residential).  I have created all of my drawings, views, sheets, etc.  I have a View drawing set up for a site plan - where I include some m-text regarding the survey and site plan information.  I want to create fields that reference the Surveyor's Name, the Survey Date and the Project Address.

I tried creating custom properties in the project, but it appears that fields that reference the project properties only update on the sheet views in paper space.  Is there a way of creating drawing specific fields in model space where I can input some data and them extract it in a field in model space that is quick and easy (as opposed to creating some type of MVB)?

View 1 Replies View Related

AutoCAD .NET :: How To Get Plant 3D And Ortho Object Properties

Aug 20, 2013

How to get the properties of plant 3d ortho block?

AutoCAD Plant 3d 2014

View 2 Replies View Related

AutoCad 2D :: Can't Change Object Color In Properties

May 30, 2009

I cannot change the color of any object in any drawing file from the properties manager or color command. I can change the color through the layer manager by assigning a new color to that layer, but cannot override the ByLayer and ByBlock settings with the object properties. The color drop down is simply grayed out. I am using Autocad lt 2006.

View 7 Replies View Related

AutoCad 2D :: How To Change Object Properties In A Block

May 4, 2010

I have a BLOCK, contains object & Blocks, that Blocks also contains objects and blocks and so on..

ex.
BLOCK
|
|—Objects
|—Block|

View 7 Replies View Related

AutoCAD Architecture :: AEC Object Properties Not Showing?

Dec 16, 2011

When selecting an AEC and going to the properties dialogue box I no longer have items showing up in the prpoerties like cleanup group, size, or endpoint type.  It only has the general tab and 3d visualization.  I did a repair from the uninstall software fromn control panel.  I also rebooted.  I don't want to do a reinstall becuase of customizations. I have vista Ultimate operating system.

View 2 Replies View Related

AutoCAD LT :: Cannot Change Properties Of Picked Object

Aug 18, 2013

When I pick the properties command sometimes the box comes up blank and the "Esc" key has to be pressed to bring up the box. When the box does come up the properties of a picked object does show and you cannot change the properties of the picked object. I am runnung AutoCadLT 2014.

View 7 Replies View Related

AutoCAD Inventor :: ILogic Access Hatch Object And Modify Color?

Jul 15, 2013

How do I get at the hatch objects within a drawing using iLogic?

I would like to be able to customize hatch color based on various part properties.

ie: 

Purchased part = Green Hatch
Refrence = Light Grey
and much more

This would be possible if I can get to the hatch object and determin what part it is associated with.

I only see iLogic code that allows you to change visibility of all hatching, and set general hatch angle.

Since I can select a hatch in the drawing and change its color, I assume there is an un-published API object that relates to hatches

View 3 Replies View Related

AutoCAD Architecture :: Getting To Hidden Object Properties In Vbscript?

May 25, 2007

it sure is useful to be able to get to the rest of the object properties that are there but hidden from property sets.

May 18, 2007
ADT Window Style Type in a PSD
Filed under: visitmycarfeed, drivemy cars, minicartag, internet — wilhemina947judith @ 5:38 pm

The Window Type for a windows style is not available as an automatic property. So a bit of VBScript is needed. Create a PSD (Property Set Definition) that applies to Windows styles and add the automatic property Handle. Then add the formula below. Notice that [Handle] in the formula must be selected from the “Insert Property Definitions” list. In the code

AecX.AecArchBaseApplication.5.0 refers to ADT 2007. For other versions of ADT change it. ADT 2004 - AecX.AecArchBaseApplication.4
ADT 2005 - AecX.AecArchBaseApplication.4.5
ADT 2006 - AecX.AecArchBaseApplication.4.7
ADT 2007
- AecX.AecArchBaseApplication.5.0
ACA 2008 - AecX.AecArchBaseApplication.5.5

[code]....

I have already wrote the code to get the elevations of ceilng grid objects, diffusers and lights in autocad MEP 2008. Now to get this to work for basic hatch objects that we like to use for gyp ceilings...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved