AutoCAD .NET :: Programmatically Access Layer Info

Jun 1, 2012

i can access the General layer properties thru the api (circled in green on image).  how can i programmatically access the Attributes (circled in red).  is this possible?

View 1 Replies


ADVERTISEMENT

AutoCAD .NET :: Program To Access Titleblock Info?

Sep 11, 2012

I have an Inventor license that doesn't include Autocad.  We have some old Autocad drawings that I would like to write a program to extract the titleblock info which I believe is probably done with attributes.  Not sure though. 

is there any way for me to get to that info without having a seat of Autocad? In Inventor we can use apprentice to do similar things.

View 3 Replies View Related

AutoCAD .NET :: Access Info From Existing Palette

Aug 20, 2013

I want to run a code something like this:

for each ctrl in autocad window

if type of ctrl is palette then

msgbox (Ctrl.name)

end if

next

Practically I want to read the info existing from a palette that is loaded by CADWORX

View 4 Replies View Related

AutoCAD .NET :: Programmatically Remove Layer From Task

Aug 22, 2011

I have a .NET plugin that loads an ArcSDE geodatabase layer programmatically using AcMapMap.LoadLayer(layerFilepath). I have been trying to programmatically remove the layer from the Task Pane using AcMapMap.GetLayers().Remove(layer), but this function is returning 'false' and is not removing the layer.

View 7 Replies View Related

AutoCAD .NET :: Programmatically Refresh Layer Usage Information?

Oct 12, 2010

In C# I noticed that when I loop through the LayerTableRecords in the LayerTable some of the layers in the drawing do not show up.  If I look at the layers in the UI it shows the missing layers with a grey icon for their status while the ones that it does detect have a blue icon for their status.  The status has to do with which layers that the drawing believes are in use.  In the UI you can press a refresh button and this will fix the problem.  I want to know how I can fix this through the .NET API, COM API, or command line.

View 7 Replies View Related

Photoshop :: Switch Layer Info?

Dec 22, 2012

Basically I have an image that I created that has 3 layers. 1 is a bunch of brush strokes that are red, one with strokes that are green, and 1 with strokes that are blue. What I want to do is take the red layer and make all its strokes green, and vice versa, basically just switching the color of everything on the layers. I would think there is some kind of setting I could just change.

View 1 Replies View Related

GIMP :: How To Pass Layer Info To A Different Editor

Aug 12, 2011

Is there a way to preserve layer info,and pass that info back and forth between graphicEditors?

Gimp does 'select by color' best. But other Editors do something else best.

So I would like to pass the layers around between Editors.

View 3 Replies View Related

Photoshop :: Adding Info About Status As Text Layer?

Sep 21, 2012

n my Image i have several layers, and two adjustment-layers for manipulating hue/saturation of  parts of certain layers. Think something like having a picture of a person, and having the adjustment-layers to change the persons pants and shirt independently. So you can easily make color-variations of what the person wears, and save them, e.g. as jpg.
 
What I want is to add a little textarea which ends up on each jpg (not meta-data, I mean readable in a corner on the actual image), that gives me the color-values from the adjustment layers that were used to create that very image. So at a later time when I have one of my jpgs and it hits me that this exact color-combination is perfekt I can recreate it easily. Of course I could do it by hand, but is there a way to automate it, using text-variables linked to the hue/saturation-layers?

View 3 Replies View Related

Photoshop :: CS6 Info Palette And Group Adjustment Layer Bug?

Mar 12, 2013

The Photoshop CS6 Info Palette is not showing before and after in Grouped Adjustment Layers. It only shows the after values on both sides of the Palette.

The two macs with this problem are:

Mac Pro
2 x 2.93 Ghz 6-Core intel Xeon
96 GB 1333 HZ DDR3 ECC
ATI Radeon HD 5770 1024 MB
OSX Lion 10.7.5
  
The two macs that work correctly are:

Mac Pro
2 x 3.06 Ghz 6-Core Intel Xeon
96 GB 1333 HZ DDR3 ECC
ATI Radeon HD 5870 1024 MB
OSX Lion 10.7.5

View 4 Replies View Related

Paint Shop Pro :: Unable To Access Layer Palette Options

Jul 25, 2013

I'm using PSP X4, have an image open in edit but I'm not able to add any layer(s). None of the layer type options will remain highlighted for me to choose when I go to new mask layer or new adjustment layer.

View 4 Replies View Related

AutoCAD Inventor :: Internet Access Is Required To Access

Apr 26, 2012

Just loaded 2013. Of course right away I get an error. "Internet access is required to access the Help" Well as you can see I have internet access.

View 4 Replies View Related

AutoCAD .NET :: How To Programmatically Change The Position Of The Sun

Sep 21, 2013

How to programmatically change the position of the sun autocad?

View 6 Replies View Related

AutoCAD .NET :: Way To Programmatically Check If DLL File Is Plugin

Oct 16, 2012

I'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....

View 9 Replies View Related

AutoCAD .NET :: Programmatically Add Labels To Objects On A Drawing?

Mar 6, 2013

My requirement is to programmatically add labels to the objects on a CAD 2013 drawing in one operation (as opposed to typing them in).  The labels exist in an external excel spreadsheet.  I am new to CAD development.

View 4 Replies View Related

AutoCAD .NET :: Change Units To Pixel Programmatically?

Oct 24, 2011

I'm using sendcommand to draw various shapes in autocad.

the problem is my application (wpf) uses pixel units while autocad uses inches by default.

how can I change autocad units to pixel programmatically?

View 2 Replies View Related

AutoCAD Civil 3D :: Add Profile Programmatically In 2012?

Apr 10, 2012

I'm not finding any way to add a profile to an alignment using .net api.

Is com the only way?

I can get at pvis via .net, so seems off they would leave out ability to add profiles.

[URL]

View 9 Replies View Related

AutoCAD Inventor :: How To Change Name Of A Document Programmatically (C++ & COM)

Jul 16, 2013

I'd hoped that I could change the name of a part document like I did with sketches, simply assignment:

 BSTR bstrName ;pPartDoc->get_FullDocumentName (&bstrName) ;wprintf (L"
Full document name was %s
",wchar_t(bstrName)) ;pPartDoc->FullDocumentName = L"Whatever" ;
 
But the compiler complains about no put method on that last line.How do I change the name of a Part Document programatically?

View 1 Replies View Related

AutoCAD .NET :: How To Programmatically Extract The Attributes From A File

Dec 26, 2013

We have a bunch of dwg files. The requirement is to extract a specific list of attributes from the layers within CAD to a csv file. We are currently manually opening the dwg using AutoCAD and exporting the attributes. This has been time consuming and we need a faster process.

What options do I have to programmtically extract them?

View 9 Replies View Related

AutoCAD .NET :: Open A Drawing File Programmatically?

Apr 9, 2012

I am trying to open a drawing file programmatically(automatically).

So for example.

If I have a file name "test.dwg" and run some custom command like 'openfile", AutoCAD opens "test.dwg" without any prompt.

The following code DOESN'T do the job I want.

Application.DocumentManager.MdiActiveDocument.SendStringToExecute("OPEN", true, false, true)

The problem is I have to hit enter after the above code is run.

View 7 Replies View Related

AutoCAD .NET :: Programmatically Accessing Pipe Data In C3D 2013?

Nov 19, 2012

In C3D (2012 or 2013), the Pipe Properties Dialog reports "Hydraulic Properties" of a pipe section. Through .Net (C#), I can access part data such as Hydraulic gradient etc but I cannot seem to find any reference to three members I see on the mentioned dialog aka "Flow Rate", "Junction loss" and "Return period".

I have "fudged" a term "Flow Rate" into the pipe part parameter definition file (AeccPartParamCfg.xml) and can access that programmatically but I think this "Flow Rate" in the Pipe Properties Dialog" is part of the Auotcad database and I cannot seem to find a route to get hold of it.

View 2 Replies View Related

AutoCAD Inventor :: Programmatically Create Virtual Component?

Mar 18, 2013

I am trying to use iLogic to programatically create virtual components in an assembly. These components will by used as iProperty "buckets" to hold Machine Center specific information to be exported to production planning software. This information is hierarchical in nature and cannot be (conveniently) stored in the assembly iproperties directly.

View 3 Replies View Related

AutoCAD Architecture :: Programmatically Add Geometry To Duct Fitting?

Jan 30, 2013

I am trying to add geometry programatically to a duct fitting.  This is because the content builder is incapable of correctly building some types of fittings.  I found some old code from an Autodesk University class that shows how to add geometry to a AEC object.  I have modified it a little to be able to work with a duct fitting but it does not work.  The code compiles fine and runs fine without any errors.  The geometry is just not added.
 
[CommandMethod("ACAClassCode", "ExModelerModifyBody", CommandFlags.Modal)] public void ModifyBody() { Database db = HostApplicationServices.WorkingDatabase; Editor ed =

[Code]....

View 1 Replies View Related

AutoCAD .NET :: How To Avoid Overlapping Of Programmatically Created Mtext

Dec 11, 2012

How to avoid overlapping of programmatically created Mtext.

I have createdMtext for the points present the dwg file, so that they get displayed as labels.

But when there are some densely located points, these points overlay and cannot be read. The font size also adjusted. Then too there are lot of overlapping.

How to avoid overlapping of programmatically created Mtext. 

View 1 Replies View Related

AutoCAD Inventor :: Auto-reattach Dimensions Programmatically?

Mar 1, 2012

Is it possible to auto-reattach dimensions programmatically?

I have an assembly that I'm suppressing/unsuppressing parts in and my drawing dimensions keep getting orphaned. I discovered the "Preserve Orphaned Annotations" option, which keeps them from disappearing on me. I can then reattach the dimensions via the design doctor, but who wants to click the doctor 6 times for 20+ dimensions?

View 4 Replies View Related

AutoCAD Civil 3D :: Programmatically Accessing Pipe Data

Nov 20, 2012

In C3D (2012 or 2013), the Pipe Properties Dialog reports "Hydraulic Properties" of a pipe section. Through .Net (C#), I can access part data such as Hydraulic gradient etc but I cannot seem to find any reference to three members I see on the mentioned dialog aka "Flow Rate", "Junction loss" and "Return period".

I have "fudged" a term "Flow Rate" into the pipe part parameter definition file (AeccPartParamCfg.xml) and can access that programmatically but I think this "Flow Rate" in the Pipe Properties Dialog" is part of the Auotcad database and I cannot seem to find a route to get hold of it.

View 9 Replies View Related

AutoCAD Inventor :: Delete A IPart Table Row Programmatically

May 17, 2012

In ipart there is an option to add and delete rows when working with inventor graphically.I have displayed the iPart table and the values in gridview using VB.Net.

The user then selects the row in datagridview and clicks the button delete.When the button onclick even is triggered i want to delete the selected row on ipart table inside inventor.

View 3 Replies View Related

AutoCAD Inventor :: Ilogic - Programmatically Add Parts List

Jun 19, 2013

im trying to programatically add a parts list into a drawing whilst programatically creating the drawing - the code works fine without the parts list code. The error its showing is 'Parameter incorect' on the line that sais PartsList.add(...   In the past when ive got this error with other code it has been because ive used an incorrect parameter (e.g. decimal instead of an integer).

My error is somewhere inside the oPartsList.add(>>ERROR SOMEWHERE HERE<<<)

oDrawDoc = InvApp.Documents.Add(Inventor.DocumentTypeEnum.kDrawingDocumentObject,AssyTemplate,True) 
oSheet = oDrawDoc.Sheets.Item(1)

[Code].....

View 1 Replies View Related

AutoCAD .NET :: Programmatically Hide / Show The Menus And Toolbars?

Mar 24, 2012

I loaded a partial customization file by CUI dialog. I would like to programmatically hide / show the menus and toolbars, so when you restart AutoCAD to be permanently hidden or visible.

View 3 Replies View Related

AutoCAD .NET :: Open Text Style Dialog Programmatically

Oct 15, 2013

I would like to open the text style dialog programmatically. Is this possible? Or is there an autocad key-in command that opens this dialog I can use?

View 1 Replies View Related

AutoCAD Architecture :: Define A Curtain Wall Programmatically?

Jun 8, 2011

Is it possible to define a Curtain Wall programmatically?

View 2 Replies View Related

AutoCAD Architecture :: Update Property Set Definition Programmatically

Apr 18, 2012

A way to update a property set definition programmatically?

Or via a tool palette tool.... I see there is with schedules for instance a right-click option to import a schedule style to update it... but I can't find a way to do this with property set definitions.

This would be in AutoCAD Arch (or MEP) 2012 or 2013.

View 6 Replies View Related







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