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
ADVERTISEMENT
Aug 20, 2013
How do you lock your properties menu to the left or right side of your drawing. And have it minimize when you scroll on and off it.
View 2 Replies
View Related
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
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
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
Oct 1, 2012
how to access custom drawing properties using LISP. It was in a discussion initiated on 01-06-2011, subject: Custom drawing properties.
One solution was to use the following method:
(setq si (vla-Get-SummaryInfo (vla-Get-ActiveDocument (vlax-Get-Acad-Object))))
(vla-GetCustomByKey si "DWGPROP1" 'pval)
(princ pval)
Now taking it a step further, using LISP, how can I "update" my custom drawing properties?
Inventor RS 2011
AutoCAD Mechanical 2011
ASD 2013
Vault Collaboration 2011
Windows 7 Pro
View 2 Replies
View Related
Nov 4, 2013
I want to create a rule with CommandManager.pick who see the name of assembly and send a custom ipropertie to all parts of this assembly view in drawing, this is my none finish rule.
Dim doc = ThisApplication.ActiveDocument
Dim entity = ThisApplication.CommandManager.Pick(
SelectionFilterEnum.kDrawingViewFilter,
"SÉLECTIONNE UNE VUE")
modelName = IO.Path.GetFileName(ActiveSheet.View(entity.Name).ModelDocument.FullFileName)
PART = Left(modelName, 11)
EXT = Right(modelName, 3)
FIRST = Left(modelName, 3)
[code]....
I have the rule "SEND TO PARTS" in my assembly but i have this error message
MEMBER NOT FOUND. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))
View 8 Replies
View Related
Apr 18, 2012
Is there a way that we can set the view label in the style library to show custom/user Properties?
We have set our iam/ipt templates to have some custom properties which we wish to display in the view label when the view is created however there this no way to add these properties to the label.
I find this a little strange as you can add these user Properties to the parts list in the style library? (I've added some screen caps to show what I am talking about)
View 8 Replies
View Related
Mar 21, 2013
As I am creating drawings for parts/assemblies, I have to fill out the customers name and the job number which I currently do on every drawing I create by right clicking on the Drawing name in the tree, going to iProperties, and then filling out the fields I need.
I have to do this for every sheet. Sometimes over 100 sheets per job.
Is there a way, within the project file maybe, to have these fields be already filled in with the customers name and job number?
Every new project file I make is a new customer. So I'm wondering if there is someway to tweak the project file.
View 2 Replies
View Related
Feb 28, 2013
How do I copy a drawing from one dwg file into another without copying its layer properties along
View 5 Replies
View Related
Jan 3, 2013
Is there a way to paste the results of a mass properties query to the drawing rather than to a file?
I have a complex shape that I am analyzing and would like the properties as part of the drawing for refence purposes.
View 6 Replies
View Related
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
May 22, 2013
the properties palette started only showing the current properites for the drawing and not the properties of the entity selected. what causes this i am using autocad civil 3d 2013.
View 9 Replies
View Related
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
Jun 14, 2012
The boss wants to lock down the title block so no one can change the appearance of the "T"block but still wants the attributes to work.
Currently the tile block is a stand alone drawing which is used to start new drawings and is also in template format.
View 6 Replies
View Related
Jun 5, 2012
Somewhere along the lines I must have clicked something to lock my views in drawing mode once I place them because after placement I cannot click and drag them around anymore...
Inventor 2013 PDS
----------------------
Inventor 2014 PDS
View 7 Replies
View Related
Sep 5, 2012
is that there is a possibility to lock the base view in Inventor drawing
View 9 Replies
View Related
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
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
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
View Related
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
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
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
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
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
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
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
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
Aug 18, 2009
Is there a way to rearrange custom block properties in a DB?
View 9 Replies
View Related
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
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