AutoCAD .NET :: Deleting / Resetting Custom Properties?

Dec 21, 2011

I have been programming our document and version control values into the sheet set object, as a result the custom property list per drawing is getting a little large and is becoming a bit hard to manage. There are now properties with values that are no longer needed. Is there a way to delete or clear or maybe reset the customproperty bag per sheetset object / sheet object?

I have been playing around with code that looks like this:
 
Private Sub DeleteCustomProperties(ByRef myItem As IAcSmPersist, Optional ByVal Lock As Boolean = True) ''Throw New NotImplementedException Dim myDB As AcSmDatabase = myItem.GetDatabase Try Select Case myItem.GetTypeName Case "AcSmSheetSet" If True Then Dim mySheetset As AcSmSheetSet = myItem mySheetset.GetCustomPropertyBag.Clear() End If Exit Select Case "AcSmSheet" If True Then Dim mySheet As AcSmSheet = myItem mySheet.GetCustomPropertyBag.Clear() End If Exit Select End Select Catch ex As Exception End Try End Sub
 
but when i get to "set" the new custom properties (which works normaly when updating a custom property or adding a custom property to a custom propertybag that I have not "cleared"), I am getting a object not set to an instance error...

Do I have to "recreate" the custom propertybag with the InitNew(ByVal pOwner as IAcSmPersist).

View 1 Replies


ADVERTISEMENT

AutoCAD .NET :: Deleting Custom Properties Using SheetSet Manager API

Oct 29, 2013

I currently use code similar to Lee Ambrosius's 2009 AU handout that shows how to set/create custom properties. URL.... search for the header 'Adding Sheet Set and Sheet Properties'.

I have now accumulated numerous unused custom properties in my sheet set.  I haven't been able to find a way to delete these additional custom properties.

Because I use multiple subsets with multiple sheets for printing, I would rather not have to go through all the sheets, store all the custom properties I need, destroy all the existing custom properties, and then re-create just the ones I need. how to delete individual custom properties.

View 2 Replies View Related

Mudbox :: Deleting Or Resetting All Stencils?

Aug 22, 2012

I accidentally added an entire folder of images to my stencils toolbox. That makes it extremely hard to find the ones I am looking for. Is there a way to delete all the stencils at once? Or reset the toolbox to its default stencils?

View 2 Replies View Related

Photoshop :: CS4 Keeps Resetting To Factory Default - Deleting Brushes?

Sep 14, 2012

Twice now, upon a restart of my computer, Photoshop has reset to factory settings, and deleted all my custom brushes I've made since a particular point in time.  I've had to remake some brushes for my digital art course twice, and now I'll have to do it a third time.  This is EXTREMELY DISTRESSING...

  This started happening only recently.  I can only guess perhaps an update to Windows or something has really jerked up my Photoshop, not sure. 

View 2 Replies View Related

AutoCAD Inventor :: Deleting User Defined Properties

Jan 2, 2014

i can easily add user defined properties using Apprentice but i cannot delete them. There is a function to delete but i always get a message back saying the Parameter is Incorrect. When i check the parameter, it IS correct. Any method for deleted User Defined Properties using Apprentice?

View 1 Replies View Related

AutoCAD 2010 :: Deleting Old Custom Commands From The List

May 11, 2012

I created a command that I no longer use. I actually made a spelling error upon creating it "SUPECLOSE" and I want to delete it.

This is how I created this command: I typed in ALIASEDIT in order to add a new alias to a command.

I then clicked on the "Add" button.

In the "Alias:" field, I typed in "xx"

And in the "AutoCAD Command:" field, I typed in "SUPECLOSE" - which isn't actually an autoCAD command. "SUPERCLOSE" is the command I use to run a custom LISP routine that I created. Upon hitting pressing "OK" to this, AutoCAD prompted me with: "'SUPECLOSE' is a new command, Do you want to add this to your list of commands?"

I said yes. And then shortly afterwards realized the spelling error I had made. Problem is...I don't know how to access this list and delete the new command that I had just created (which does nothing).

View 3 Replies View Related

AutoCAD Inventor :: Deleting Custom Table And Entering Values

Nov 2, 2011

I need to insert a table on one of my Inventor drawings, however, it will vary in size (Fixed colums, variable number of rows). I have searched the forum and found this snippet of code to add a 2x20 table.

Sub Main()Dim oDrawDoc As DrawingDocumentoDrawDoc = ThisApplication.ActiveDocumentDim oSheet As SheetoSheet = oDrawDoc.ActiveSheet' Set the column titlesDim oTitles() As String = {"Member","Pos. From Datum A"}Dim oPoint As Point2doPoint = ThisApplication.TransientGeometry.CreatePoint2d(1, 28.7)' Create the custom tableDim oCustomTable As CustomTableoCustomTable = oSheet.CustomTables.Add("Infill Spacing", oPoint, 2, 20, oTitles)End Sub
 
The Problem

I now need to be able to do two things:

1. Delete all custom tables that may be on the drawing ( I may have more than 1 custom table on the drawing)

2. Access the individual rows and colums in a specific table so I can write a variable into them.

I have searched high and low for the API commands, but cant seem to find them.

View 5 Replies View Related

Paint.NET :: Deleting Custom Brushes

Sep 6, 2012

I've been trying to delete some of my custom brushes because I really don't care for them that much, but I haven't been able to figure out how?

View 19 Replies View Related

Lightroom :: Deleting Custom Cropping Ratios?

Mar 31, 2014

Is there a way for deleting previously entered custom cropping ratios?

View 2 Replies View Related

AutoCad :: Add Custom Field In Properties Box

Feb 21, 2012

I’m currently in the process of creating new tool palettes and all the components blocks I’m storing, I know the weights of, is there a way to add a custom field in the properties box say the weight for example, so I know how much something will weigh by clicking on its properties .

View 8 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 Inventor :: Custom Properties In Drawings

Dec 30, 2011

In Solidworks they had something called custom properties that were generally setup in the models where you had the property names and then values would be filled in to automatically populate drawing titleblocks.  I found this, but I can't get the drawing description to keep changes and update the drawing.

View 9 Replies View Related

AutoCAD 2010 :: Custom Sheet Set Properties

Sep 6, 2012

It took me a long time & effort to add all 190 custom sheet set properties (Our Frame/template is complex). When i found out that I could not re-order the sheet set custom properties I was really pleased.

My problem;

I'm trying to add a FIELD with some of the sheet set custom properties. Why are the field not seing ANY of the 190 properties I added to my sheet set? see picture

I really love all of thoses fancy new feature Autodesk add year after year, I mean, you know, NURBS modeling & stuff... Trully great work Autodesk!

View 6 Replies View Related

AutoCAD 2013 :: How To Add Custom Properties To Objects

Aug 13, 2013

Is there any (non programming) solution where I can add custom data/properties to objects in plain AutoCAD?

(I know I can in Civil 3D though, using Notes/Extended Properties etc etc)

We want to allow users to add their own unique ID to all their drawn objects, and we don't want to use Entity Handle as that is not anything we can choose  ;-)

We're using that ID to connect other datasources (ODBC) to Navisworks and we would like it to work even from AutoCAD, even though we have Civil 3D inhouse.

using plain AutoCAD straight out of the box?

View 9 Replies View Related

AutoCad :: Sheet Set Manager And Custom Properties

Nov 7, 2013

I have a SSM set up with both Sheet Custom Properties and Sheet Set Custom Properties.

When I start a new project, i can populate both areas of the main SSM. I'll create my sheets and have them self populated by the "root" SSM settings (if you will)well now, lets say i need to change the date of the sheets from the past.. to the future submittal date. I set it in the "Sheet Custom Properties" in the "root" SSM and then I have to go to each sheet; right click --> Properties each sheet and change the custom properties.

Basically, is there a way to have the sheets (after created) to automatically update to the new date?

View 1 Replies View Related

AutoCAD .NET :: Writing Tool To Add Custom Drawing Properties

Jul 20, 2012

I have installed the autocad ObjectARX 2011 and .Net wizzard to start writing a .Net application for adding custom drawing parameters to all our acad drawings.  I have found two issues detailed below.  This is my first attempt at using c# with autocad so any pointers on what I am doing wrong will be well received.

1.  If add the AcDbMgd.dll and AcMgd.dll references and set copy local to false as the documentation advises then I get a FileNotFoundException, could not load file or assembly 'acdbmgd'.  If I set the copy local to true then the error goes away.

2.  I tried using the code below to add a paramater but I get an exception on the first line System.TypeLoadException: Method 'CopyTo'.

Autodesk.AutoCAD.DatabaseServices.Databasedatabase = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Database;

//Users builder to edit the summary info (file properties) of the drawing

Autodesk.AutoCAD.DatabaseServices.DatabaseSummaryInfoBuilder infoBuilder = new Autodesk.AutoCAD.DatabaseServices.DatabaseSummaryInfoBuilder(database.SummaryInfo);
string key = "test";
string value = "testvalue";
infoBuilder.CustomPropertyTable.Add(key, value);
database.SummaryInfo = infoBuilder.ToDatabaseSummaryInfo();

View 1 Replies View Related

AutoCAD Print / Plot :: Crash On Custom Properties

Apr 12, 2013

When I try to modify the custom properties for the HP t2300, Autocad C3D 2011 instantly becomes non-responsive and hangs.  After a few seconds, every other open app suffers the same fate.  If I have task manager open to the performance tab, I can see memory use escalating rapidly.  Either I use Taskmanager to kill Acad quickly, or I end up killing the power to the computer and restarting the hard way,

the plotter is set up on the network with separate queues for Postscript and HPGL.  Accessing the PC3 for the PS queues has no problem, it's only the HPGL queue that hangs me up, and only in C3D 2011 (and Civil3d as AutoCAD)

LDT and LDC Map 2009 do not have the problem,. nor does Map3d 2011, and TrueView 2013 is also fine.  All of these are pointing to the same set of PC3, PMP, and CTB files.Other applications do not have any problem getting to the printer properties, just Civil3d 2011..

View 1 Replies View Related

AutoCAD Inventor :: Balloons To Call Out Custom Properties?

Oct 31, 2013

I want my custom property to defined as item #. That Item # then is represented in the balloon.

reasoning is that then engineers wont have to check drawings anymore for the guess work involved in matching the part balloon to each individual part in the assembly being called out.

I can then focus on creating a BOM that shows the different item#'s and the user can quickly go through it.

View 4 Replies View Related

AutoCAD Civil 3D :: Updating Sheet Set Custom Properties

Dec 2, 2013

I have a set of drawings with a large number of sheets.  I need to do a mass edit of the properties for each sheet (for example update the revision number, date, checked/design/approved/drafting initials, description).  The updated properties are largely similiar.

Is it necessary to update each sheet's custom properties individually, or is there an easier method?

View 2 Replies View Related

AutoCAD .NET :: How To Lock Custom Properties Of Drawing File

Jun 7, 2012

I have Custom Properties on Drawing File. Naturally it is non-editable. But from AutoCAD When I write Command "DWGPROPS" it can be edited. I does not want it to be edited at any time.

Is it Possible to lock it using Coding? Or CAN we disable the Command "DWGPROPS" of AUTOCAD into AutoCAD?

View 3 Replies View Related

AutoCAD Inventor :: How To Add Custom Materials In Actual Material Properties

Jul 4, 2011

I am looking for ways to add actual custom materials - not (just) in appearance, but in actual material properties (elasticity, etc). I have looked at wiki and searched this forum (and others) but I haven't been able to find anything of the sort... but the properties of the few aluminium alloys available are not those that we use... besides that we need them at specific temperature ranges (and honestly, I haven't been able to find any temperature controls in the FEA yet either.) And.. is there a more direct, faster, way to assign materials then [big I Pro button] > iPropperties > Physical? Right click on the solid and selecting "material" seems so much more ideal.

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Rearrange Custom Block Properties?

Aug 18, 2009

Is there a way to rearrange custom block properties in a DB?

View 9 Replies View Related

AutoCAD Inventor :: Custom Properties Inside Part List

Sep 23, 2013

I have a problem here. I've created a tube & pipe assembly. Now, I want to know whether  I can automatically generate "Location to" and "Location From" of my tube assembly. For example, tube A origin from part A goes to part B. So I want to automatically generate those. Is there is a way or do I need to type in manually.

View 1 Replies View Related

AutoCAD Civil 3D :: Part Building - Assigning Custom Properties

Aug 7, 2012

Is it possible to use a custom properties within part builder to calculate pipe sizes?

Within part builder I have created a new parametric part under the rectangular pipe chapter.

This new parametric will represent a electrical conduit ductbank that will vary in size depending on the number of conduits in the ductbank. For example a 2 x 3 ductbank would have 2 columns and 3 rows of a 3" conduit. So the width and height of the rectangualr duct bank would be calculated this configuration. I will have up to 12 rows and coluimns in a single ductbank, so I might have a 10x10, 3x12, 12x 1, etc.

I have a custom pipes catalog and within the AeccPartParamCfg.xml I have created 2 custom propertes named ROWS & COLUMNS.

My question is can this custom property be used to calculate the the height & width on the rectangular pipe within part builder? Once I draw my pipe I would like the ability to edit ROWS & COLUMNS within the Pipes Properties to change its size. is this possible?  See image below.

View 3 Replies View Related

AutoCAD Inventor :: Using Custom Section Properties In Frame Analysis

Jan 23, 2012

I am busy constructing my own Structural Shapes Library in Inventor 1012.During the Authoring and Publishing step I mapped Cross Section Properties (Ixx, Iyy, Torsional Section Modulus, Torsional Rigidity Modulus etc) to set parameters in my iPart table.

I have noticed that once this part is then used in Frame Generator to create a simple beam and then analyzed with the Frame Analysis tool, the analysis tool uses the geometry of the part to calculate these properties.

Is there a way that I can force Inventor to use the properties in the iPart Tables?  I am worried that any errors in creating the cross section geometry will be carried into the Cross Section Properties calculated by Inventor.

View 2 Replies View Related

AutoCAD 2013 :: How To Stack Text In Sheet Set Custom Properties

Aug 9, 2013

How can I stack text in a custom sheet set property without editing custom properties and adding another line.  The clients name is much longer than normal.

View 1 Replies View Related

AutoCad :: Sheet Set Manger / Unable To Setup Custom Properties

May 15, 2012

Now that I have all my custom properties set up I can't seem to update the custom ones that I made. The custom properties I have added do not seem to work when I update them the through the Sheet Set Manger properties.

View 5 Replies View Related

AutoCAD LT :: 2008 - Update Template Which Has Custom Drawing Properties

Sep 7, 2012

I'm trying to update a template which has custom drawing properties.  In AutoCad LT 2012 (and obviously full autocad) there is an UPDATEFIELD command which updates the drawing properties.

This command is not known in my version of AutoCad LT 2008.  Is there another command I can use? 

View 1 Replies View Related

AutoCAD Inventor :: ILogic Code - Change Custom Properties

May 31, 2013

<Subassembly document name>” = iProperties.Value("Custom", "CUSTOMER P.O. NUMBER") iProperties.ValueInDoc("<Subassembly document name>.iam", "Custom", "CUSTOMER P.O. NUMBER")= Ucase(InputBox("CUSTOMER P.O. NUMBER?", "Create Customer P.O.#", iProperties.Value("Custom", "CUSTOMER P.O. NUMBER")))

View 3 Replies View Related

AutoCAD Inventor :: Title Block - How To Put Custom Properties In Order

Nov 7, 2011

When I input data into title block I want to go Field txt->custom and have some rows multiple, in repeating order, I don't have control over that. 

Example:

I want:

first row: rev #,
second row: by,
third row rev #,
fourth row: by,
and so on.

Right now I created prompt line "rev (1)", "by (1)", "rev (2)" and so on, but this still wont show the right order in custom props. 

View 1 Replies View Related

AutoCAD 2013 :: Print Out Report Of Drawing Custom Properties?

Jul 31, 2013

If we're in a drawing and pick the AutoCAD application button > Drawing Utilities > Drawing Properties we can, and do, use this to enter custom propterties. Is there any way to print out a report of a drawing's custom properties? Ideally, i would like to be able to select multiple drawings and print a report of each drawing's properties.

View 9 Replies View Related







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