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


ADVERTISEMENT

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

AutoCAD Map 3D :: Auto-Refresh Layer After Inserting Feature In PostgreGIS Via FDO Provider

Sep 6, 2013

I am editing a Postgis table using the OSGeo FDO Provider for  PostgreSQL/PostGIS in AutoCAD Map 3D 2012. As i have noticed that the serial type of the ID field does not give an automatic value to de ID field after inserting a new feature in the layer and after checking in (AutoCAD Map seems not to understand de nextval(sequence_name) function in the DEFAULT property of the ID field(thats how the autonumeric numbers work in PostgreSQL)), i am using a database side trigger which gives the next sequence value to the ID field of the new record. The trigger is launched BEFORE inserting a new record.

The problem is that after executing the trigger, in AutoCAD Map all the fields are still shown as null, and they are not displayed until i manually refresh the layer.

Is there any way to auto-refresh the layer after checking in a new feature?

View 2 Replies View Related

Photoshop :: 13.0.2 Update / Layer Comps Refresh

Dec 11, 2012

I'm experiencing strange layer comps behaviors since Photoshop 13.0.2 update, on an existing .psd file. If some comps are correctly rendered, some others are not refreshed: layers visibility is not updated, workspace seems to be frozen, using for instance the magnifier tool to zoom in/out renders a completely white workspace, and moving then my mouse pointer above it only refreshes its lower half part (a little bit more actually). Moreover, Photoshop CPU consumption becomes quite high as long as I stay on such composition (around 50% CPU instead of 2% compared to working comps).
 
I've tried to disable GPU from Photoshop preferences, Machine is a mid-2010 17" MBP w/ i7@2.66. No problem with the same .psd file before upgrading to 13.0.2..

View 12 Replies View Related

Photoshop :: Cpu Usage Shoots Up To 100% Usage

Apr 29, 2006

I've just installed photoshop cs2 and every time I go to use the brush, my cpu does some major laggin. I've opened task manager while I begin to draw, and right when I start, the cpu usage shoots up to 100% usage.
My specs are:

2.0 Celeron

128m nvidia geforce fx 5200

768 megs of ram

View 1 Replies View Related

Paint Shop Pro :: Editing New Layer Doesn't Refresh Properly With 64bit X6

Dec 3, 2013

I have been doing some very simple editing of photo's taking a copy from part of one and pasting it as a new layer on another photo. I can then manipulate the size, placement and orientation easily with my X4 version of PSP.

I just purchased the new x6 and am ASTONISHED that this simple exercise doesn't work at all in the 64 bit version and only partially in the 32bit version of x6. What happens is that the screen isn't redrawing the changes as you move the pasted part around. It can be refreshed manually but gets into such a mess when you are trying to place the image that it's unusable. I go back to X4 and using exact same photo's I can work without any problem.

I'm on win7 ultimate all upto date and an 8800 GTS graphics card with latest drivers. There should be no reason x4 works and x6 does not.

View 4 Replies View Related

AutoCad :: Including Layer Information In PDF Output (2009)

Oct 14, 2012

On my version of CAD 2010 (on my other laptop) I can print to PDF and then turn layers on/off in Adobe Reader.

At the moment I've only got access to the 2009 version. Is it possible still print to PDF and the layer information included in the export?

View 9 Replies View Related

AutoCAD 2013 :: Export 3D Dwf That Includes Layer Information?

Jun 10, 2013

Is there any way to export a 3D dwf that includes layer information?  In searching for an answer to this there were some responses that it really wasn't possible, however those were from previous versions of AutoCAD.  I'm using 14 now.  Is there any new functionality in 14 that allows this?

View 4 Replies View Related

AutoCAD Map 3D :: SDF File Information - Create Points With Custom Information

Aug 26, 2011

I am a AutoCad drafter for telecommunications and I have utility pole points (long/lats)

I can insert the poles via long/lat and all is great, my issue is I would like more information in those points.

For example, pole number, class, HOA, Make Ready. Currently I create a survey data store and import ASCII Points using PNE(comma delimited)

So with my Excel file (this is where I get my pole information from) I get a point/northing/easting to enter into the formatting section.

I would like to add more information to these individual points, like ploe number, class, HOA...

If I view the point table I see that there are a lot of other columns, can I use them or customize them? is there a quick tutorial on this issue?

View 4 Replies View Related

Illustrator :: How To Have Selected Layer Be Renamed By Its Color Information

Apr 22, 2013

I am currently working on a project which requires me to run a script several times, probably over 200 times. Ive been racking my brain serveral times over and cannot figure out how to have the selected layer be renamed by its color information. Ive also tried to maybe build a new layer command into the current action I am using, but i keep having a dialog box pop up which interrupts the rest of the action.
 
Also, is there a way to automate an action according to a swatch. Meaning if I select a swatch can i have it perform the action and then move on to the next swatch in the list, or until the swatch list has been completed.

View 3 Replies View Related

Photoshop :: Does Applying Smart Filter Destroy Layer Mask Information

Jul 31, 2013

Iv applied a smart Filter on a layer that I have done a lot of masking work on. By applying this smart filter do I lose all my masking information? Is there a way of applying the two effects on the same layer?

View 3 Replies View Related

Illustrator :: When Copy Layers - Objects Grouped And Layer Information Disappeared

Oct 17, 2012

I have a single file with couple objects on different layers. When I copy/paste into other files, the objects seem to be grouped and layer information disappeared. Can I move around objects with layer setting as well?

View 4 Replies View Related

AutoCAD .NET :: RDS Usage And Guidelines

Aug 1, 2012

I have a plug-in developed with the ObjectARX SDK, C#, VS2010 and the Autodesk supplied template. The plug-in is loaded into AutoCAD at start-up via a registry entry.

The plug-in is to be distributed privately and will not be submitted to the 'Marketplace' supplied by Autodesk for AutoCAD products.

I've noticed that there is a section on the AutoDesk website with regards to registering a custom prefix via the RDS scheme [URL]......

Currently we have code within the following areas:
 
Class Namespaces e.g. "MyNamespace.Utility"FunctionsCustom Commands e.g. "DEBUGDATA"

Based on the current implementation and intended usage/distribution method is symbol registration required? I ask as I am not sure what would happen if another plug-in used by the user has a "DEBUGDATA" command.

If symbol registration is required could you provide a clear example of how developer symbols should be implemented within the code?

View 1 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 LT :: 2012 Slows After Continued Usage?

Oct 14, 2011

I am having a problem with Autocad 2012 LT. It typically runs fine, but after using it for an extended period of time with multiple projects open, it becomes painfully slow to perform basic tasks like copying objects, opening projects, and saving projects. Restarting AutoCAD does not fix the problem, however, restarting my computer does fix the problem. I just don't want to be continually restarting my computer as on average I need to do this 3-4 times per day at work.

I am running Windows 7 64-bit on an iMac12,2

Processor: i5-2500S CPU @ 2.7 GHz (4CPUs)
8 Gigs RAM

View 9 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 Inventor :: Ilogic Form Picture Usage?

May 6, 2013

i want to use pictures with my forms and was wondering if i can use them like the way i showed in attached image.

the CaseA image is the one i can currently use and CaseB is the way i want to use. My reason to do this is, i have alot of parameters to change and having both the picture and a menu below/above takes alot of space which also seems redundant.

View 7 Replies View Related

AutoCAD Inventor :: Drawings Not Update With IPart Usage

Sep 10, 2013

I made a drawing, inserted a base view and selected an ipart member, in the Model State tab of the Drawing View dialog box.

Now i made a change in the model, one that is enabbled in the ipart member, one that i should see in the drawing, but i don't see the change. the drawing represents the part as i inserted it at first.

Now i found a workaround, i edited the view, chose the active member, which is the previosly selected member, now it updated, but the center lines became pink. now i changed back to the firstly selected member and it updated, but i am sure there is a better way

View 1 Replies View Related

AutoCAD Architecture :: Autodesk 360 And Broadband Usage With 2013?

Aug 5, 2012

Have been using ACA 2013 all last week (normally do most of my work with Revit) and this time its been used intensively since install. I noticed that Autdesk 360 was doing allot of syncing. Drawings are open all of the time so the syncing activity is continuous.Then I found that over the last week broadband useage generally is clocking up to 11Gb per day (I get 60 per month), other browsers were slow and I think I have traced the problem to Autodesk 360 - it stoppped as soon as I disconnected from the cloud. It seems there is a huge amount of up and down stream data - turn 360 back on and the router lights start flashing furoiously. The cloud storage is less than 1Gb.

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







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