AutoCAD .NET :: Sheet Set Custom Property Field TransmittalSetups?

Dec 12, 2012

The SheetSetObject has an inbuilt custom property called "TransmittalSetups", but the property has a different internal object structure compared to other CustomProperty 

Ie: 

[code]

Dim myPropEnum As IAcSmEnumProperty = myCPB.GetPropertyEnumerator
Dim myPropName As String = Nothing
Dim myPropValue As AcSmCustomPropertyValue = Nothing


myPropEnum.Next(myPropName, myPropValue)

[/code]

myPropName is a string, and in this instance it returns a value of "TransmittalSetups"

myPropValue.GetValue is a string, and it says "System.__ComObject" not a "value".

So my question is, how do identify this object, how to interigate it or assign it to its native object type.

I have tried to cast it to different IAcSmEnum types but without success.

View 9 Replies


ADVERTISEMENT

AutoCAD Dynamic Blocks :: Sheet Set Custom Property Field

Mar 1, 2012

I am having trouble getting a field in a multi leader which is part of a block to reference a sheet set custom property. I have fields within mtext in paper space that are not blocked that are referencing correctly but just not in my blocks.

View 9 Replies View Related

AutoCAD 2010 :: Modify Sheet Set Custom Property Definitions

May 3, 2012

I FINALLY decided to get my head around the Sheet Set Manager (kudos to Kate Morrical's video series).

I understand the need to create custom properties, and I can see that you can either "add" or "delete" custom properties, but is there any way to CHANGE the property after it's been defined?

For example, if I create a custom property complete with a default value, but discover later that I made a spelling mistake (eg. "Darwn By" instead of "Drawn By"), is there any way to MODIFY it?

View 1 Replies View Related

AutoCAD 2013 :: Sheet Set - Adding Space To Default Custom Property

Jul 18, 2013

I'm tasked with setting up a new dwt file to be used along with the Sheet Set Manager.

I've got as far as adding in my own custom properties at both the Sheet Set level (things like project name, site name, etc.), and at the Sheet level (drawing title).

But more specifically, at the Sheet Level, I want to be able to facilitate having a multi-line drawing title. Things start to get a little cloudy.

In order to be able to control where the line breaks are, I've simply created 5 fields (3 for an odd number of lines, 2 for even), and I want to set their Default Value so they don't display anything, i.e. a space or blank of some kind, instead of the four dots. So when I want to add the title I go to the Sheet properties and change the value.

I thought it'd be as simple as adding the ASCII code for a space (U+00A0) into the Default Value, but that seems to display the text U+00A0 instead of the space.

View 2 Replies View Related

AutoCAD .NET :: How To Get Custom Property Names / Values From Custom Property Bag

Sep 15, 2011

I have been trying to find a method to extract custom properties from the custom property bag.

I have been able to extract the property value, using the "GetProperty" and the associated "GetValue" method, this method works when I know exactly what property name I am looking for. What do you do when you don't know the property name?

here is my code snippet..

dim myProps as acsmcustompropertybag = mysheet.getcustompropertybag
dim myProp as iacsmcustompropertyvalue = myprops.getproperty("SOMENAME")
dim myPV as string = myProp.GetValue

what I want to do is:

dim myProps as acsmcustompropertybag = mysheet.getcustompropertybag
dim myPN as string = ??????????.tostring
dim myProp as iacsmcustompropertyvalue = myprops.getproperty(myPN)
dim myPV as string = myProp.GetValue

View 6 Replies View Related

AutoCAD Inventor :: ILogic - Set Custom Property In Custom Content Center Part

May 16, 2013

When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.

I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".

View 1 Replies View Related

AutoCAD 2013 :: How To Link Text From One Sheet To A Field In Another Sheet

Mar 28, 2013

I am using AutoCAD 2013 and I working on a project of approxamitely 80 pages and I have a Sheet Set Manager set up.There are about 40 pages that have text saying Continuation on Sheet XX of YY. I managed to use a field for the total count (YY) however I need to link the XX to the another drawing. I have researched and failed miserably.

View 9 Replies View Related

AutoCAD Inventor :: How To Link Text From One Sheet To A Field In Another Sheet

Aug 5, 2013

I am using Inventor 2010 (I know this is my first problem, but you have to use what you're given!) and I need to use the sheet number in a calculation that will display the result in a text box.  =((<SHEET NUMBER>-1)8)=1  displays a result of ((11-1)8)+1. I suspect that the sheet number is being brought in as text instead of a number. I tried adding atoi to the equation to convert the sheet number to an integer, but it did not work.Is there an alternate source for the sheet number that will return a number? Is my syntax wrong?

View 1 Replies View Related

AutoCAD Civil 3D :: Property Field Editor For Alignment Curve Table

Dec 29, 2013

I want to create a Curve table for an alignment.

You are able you get range of properties, i.e length, chord length, start/end chainages, mid-ordinate.

I've notice lets for arguement sake 'chord length' text component editor is: <[Chord Length(Um|P3|RN|AP|GC|UN|Sn|OF)]> but is it possible to modify the code so i can insert half a chord length.

Ive tried

<[Chord Length(Um|P3|RN|AP|GC|UN|Sn|OF)]>/2        ---- doesn't work

<[Chord Length(Um|P3|RN|AP|GC|UN|Sn|OF)]/2>        ---- doesn't work

<[Chord Length(Um|P3|RN|AP|GC|UN|Sn|OF)/2]>        ---- doesn't work

<[1/2*Chord Length(Um|P3|RN|AP|GC|UN|Sn|OF)]>     ---- doesn't work

View 1 Replies View Related

AutoCAD Inventor :: When Edited Field Text / How To Change Display Order (edit Property Fields)

Sep 25, 2012

I am using a symbol that includes a several text boxes.  Each text box includes "prompted text" and "drawing properties".  When I insert the symbol onto a drawing, the "Edit Property Fields" menu appears.  In this menu, I can input my prompted field text or see the various "drawing properties".

My question is, how do I change the order that these property fields are displayed?  It seems as if it depends on the order that the text boxes were created while defining the symbol definition.  Is there any other way to change the display order?

View 3 Replies View Related

AutoCAD 2010 :: Include Custom Sheet Properties In Sheet List Table?

Jan 3, 2013

Is there a way to include custom sheet properties in the sheet list table?

AutoCAD Civil 3D 2012 (Primary),
Dell Percision T3500: MS Windows 7 64-bit SP1;
Intel Xeon CPU W3505 @ 2.53GHz, 12.00 GB RAM, NVIDIA Quadro 600

View 4 Replies View Related

AutoCAD Inventor :: How To Change Drawing Sheet To New Custom Sheet Format

Sep 20, 2013

I have an older drawing with an outdated sheet format. I'm wanting to update to a new custom sheet format without having to redimension and recreate views. Is it possible to just update the sheet format?

View 1 Replies View Related

AutoCAD 2013 :: Sheet Set Manager With Current Sheet Set Custom

Oct 29, 2012

I'm trying to set up a title block template that will be used between several different sheet sets. I have entered the custom properties, then when I go to the title block and try to insert the fields with current sheet set custom the drop down box is empty and then when I try to type in the custom property name the link still does not function. Is there some trick that I'm missing, or is this function broken on AutoCad 2013?

View 6 Replies View Related

AutoCAD .NET :: Unable To Get Custom Property Value

Sep 18, 2013

I am using AutoCAD 2014 and VB.NET 2010.  I am trying to get the value of a custom property and cannot seem to do so.

The old command I used for AutoCAD 2010 was:

ThisDrawing.SummaryInfo.GetCustomByKey(strParameter, strValue)

But this does not work anymore. So I created this sub but it does not seem to work either. 

Public

Sub subFindCustomParam(ByVal strUserParameter AsString)    
Dim infoDB AsDatabase =Application.DocumentManager.MdiActiveDocument.Database
Dim infoBuilder AsDatabaseSummaryInfoBuilder = NewDatabaseSummaryInfoBuilder(infoDB.SummaryInfo)       
[code]........  

View 1 Replies View Related

Corel PHOTO-PAINT X6 :: Object Tool Size Field On Property Bar Tooltip Says Scale

Sep 11, 2012

There is a UI bug in PP X6 where the fields for size on the property bar when using the object picker tool show a tooltip "Scale".  See screencap

View 1 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Custom Property

Nov 30, 2011

I am trying to create a sketched symbol on the fly that has custom properties in it. I am also creating the custom properties on the fly. I need to get the actual expression for the property into the sketched symbol not just a value. I need this so that I can export the drawing as an autocad .dwg that has attributes in it.

View 3 Replies View Related

AutoCAD .NET :: How To Code Drop-down List For Custom Property Using OPM

May 27, 2013

I am mainly developing for AutoCAD 2013/2014 how to implement a custom property as a drop-down list using OPM and .NET/C# wrapper. I have successfully created categorized custom properties already and can read/save them in XRecords via the OPM. I further implemented the members for IDynamicEnumProperty (using an ObjectARX DLL) in .NET/C# which are:

// ENUM-PROPERTY INTERFACE METHODS DEFINITIONenum myEnum{ steel = 0, copper, wood};public void GetNumPropertyValues( int numValues ){ numValues = 3;}public void GetPropValueName( int index, out String valueName ){ valueName = Enum.GetName(typeof(myEnum), index);}public void GetPropValueData( int index, ref Object valueName ){ valueName = index;}

And I have implemented the GetCurrentValueData() and SetCurrentValueData() members in my .NET/C# wrapper as per the IDynamicProperty2 interface as following:

public void GetCurrentValueData( Object pUnk, ref Object varData ) {AcadObject obj = pUnk as AcadObject; if ( obj != null ){using ( Active .Document.LockDocument( DocumentLockMode.ProtectedAutoWrite, null, null, true ) ){using ( var tr = Active.Transaction ){ObjectId ObjId = new ObjectId( (IntPtr) obj.ObjectID ); DBObject DbObj = tr.GetObject( ObjId, OpenMode.ForRead ); if ( DbObj != null ){try {if (
[code]....

This code compiles without error but instead of the expected drop-down list the OPM only shows a field where I can enter or edit integer numbers, but there is no drop-down list when clicking on the field....

View 1 Replies View Related

AutoCAD Inventor :: Custom Property Format In ILogic

Sep 21, 2011

I would like to set the custom property format for all user paramters from an iLogic code. This is what I've come up with. It runs, but it does not seem to alter the custom property format. What am I doing wrong here?

DimoPartDocAsPartDocument
oPartDoc=ThisApplication.ActiveDocument
DimoParameterAsParameter
ForEachoParameterInoPartDoc.ComponentDefinition.Parameters
oParameter.ExposedAsProperty=True
ShowUnitString=True
ShowLeadingZeros=True
ShowTrailingZeros=False
Precision=kTwoDecimalPlacesPrecision
NextoParameter

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 9 Replies View Related

AutoCAD Inventor :: Custom Property Format Default?

Oct 25, 2013

In the parameters window you can right click a value and choose a custom property format.

We always change everything to fraactional instead of decimal.

Is there a way to set this as default?

View 6 Replies View Related

AutoCAD Inventor :: Getting A Drawing Border To Act On A Modified Custom Property

Feb 20, 2012

The company I work for produce drawings for various types of fabrication.

Using Inventor I have a drawing border in which tolerance values change depending on the type of fabrication to be produced. The type of fabrication (0,1,2,or 3) is designated by a custom property entered during part/fab model creation.

This property may change depending on various production factors. The issue I have is how do I get the border to recognize this potential change in fab type and populate the tolerance fields with the necessary information? 

View 3 Replies View Related

AutoCAD Architecture :: Custom Property Set Definitions To Add Information To Spaces

Dec 13, 2013

I am using some custom property set definitions to add information to spaces.  However as I insert spaces I find that I have to go to the extra step to add the property set to the object using the Extended Data tab in the Properties Palette. 

It is not a huge deal but sometimes it is forgotten and schedules are not reporting properly, or the display theme is not correct.  Although there are tools to quickly add them I would like to know if there is an automatic way to add them while creating the spaces/zones.

On a related note.  There is a property set definition that is in each file by default called RoomFinishObjects.  Is there a way to purge this?  I don't want to attach finishes to my objects.  But it seems to be embedded in the file.

View 4 Replies View Related

AutoCAD Inventor :: Keeping Custom Property Date Blank

Mar 22, 2013

My company has a custom property named 'Released date, Type Date.

This date is still empty

I am working on a rule that adds all the custom properties required for the company title block.

This rule can be useful whenever you get a model from a supplier.

I can add a custom property date using the following

Dim oDoc As Document = ThisApplication.ActiveDocument
Dim customPropertySet As PropertySet = oDoc.PropertySets.Item("Inventor User Defined Properties")
Try
iProperties.Value("Custom", "Released Date") = iProperties.Value("Custom", "Released Date")
Catch

[Code]...
 
This code works but sets the released date to Now.

But the release date needs to remain blank when adding.

I tried to make the value Null but I get the error:

"Value of type 'System.DBNull' cannot be converted to 'Date'."

Is there a way to keep a custom property date blank?

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 Architecture :: Sheet Name Field Can Be Broken Into 2 Or 3 Lines?

Aug 24, 2011

I have a question about sheet name field, can it be broken into 2 or 3 lines?

Our office has huge text size for drawing name, which can not be changed to a smaller one (you know the politic craps about standards).

So I wonder if there is a way to break the Sheetname field to 2,3 or 4 lines to accommodate this. So far the field is set to have one single line at best. It was good for "floor plan" but not good for "floor plan and etc, etc...."

View 2 Replies View Related

AutoCAD 2013 :: Way To Set Field To Another Sheet Number Besides Current One?

May 22, 2012

in the field names I only see current sheet number...is there a way to set the field to another sheet number besides the current one? 2013 Civil 3D

View 5 Replies View Related

AutoCAD 2013 :: Next / Previous Sheet Number Field

May 8, 2013

I am using Sheet Set Manager. I can use a field that will enter the sheet number on each layout. I am looking for a way to have a field use this number and minus 1 or add 1 to get the sheet before and sheet after the current sheet.

View 5 Replies View Related

AutoCAD Inventor :: Custom Property Link From Drawing To Part Breaks

Jul 14, 2012

I'm trying to see if I can write a rule that will link a custom property at the part level in a template and have it update when I copy the part and drawing to a new design.  Below is the formula I'm using and it works in the original files but when I use Design Assistant to create a copy for a new design, this formula will not update.

iProperties.Value("Custom", "Title")=Parameter("Bearing_#01.ipt.Build_Title")

View 5 Replies View Related

AutoCAD Inventor :: Make Part Number To Be A Custom Property ILogic?

Oct 31, 2013

I have a part number that i want to defined in custom properties.

Then would it be possible to call it out in Ilogic? that way in any drawing doesn't matter where the part number will always be the same for that part when i balloon and the same in the BOM.

View 4 Replies View Related

AutoCAD Inventor :: Change Custom Property Format From Assembly Level

Apr 8, 2013

I have a frame fabrication / assembly with a Custom iProperty called "FINISHED MATERIAL SIZE". I have set the following parameter for this property:

FINISHED MATERIAL SIZE = <Stock Number> x <G_L>mm

This returns the stock size and length to my drawing cutlist. The problem is that the <G_L> Parameter returns the trailing zeros and unit string.

I would like to set all the frame members in the assembly such that the G_L parameter returns a value rounded off to 0 decimal places with no trailing zeros and removes the unit string as well.

Is there a way I can achieve this from the assembly so I don't have to manually open each frame member and make the changes in the fx parameters dialog one at a time?

View 3 Replies View Related

AutoCAD Inventor :: Model Custom Property To Sketch Symbol Definition

Sep 29, 2011

How would i insert the "variable name" of a custom iProp to a sketched symbol definition (in an idw)?

I can plonk the value of the iProp in no worries, but to make it "live" is a bit beyond me...

 Sub WeldNote()On Error Resume NextDim oDoc As DrawingDocumentDim SketchedSym As SketchedSymbolDefinitionDim oNoteDef As SketchedSymbolDefinitionDim oDefSketch As SketchDim oTextbox As TextBoxDim SNewText As StringDim sNoteText As StringDim oReffedDoc As DocumentDim lReffedWeldType As Long'Err.ClearIf

[Code].....

View 9 Replies View Related

AutoCAD 2010 :: Import / Exp​ort Layer Property Custom Filters

Nov 14, 2012

I need importing and exporting custom layer property filters. Long story short, we XREF a lot of mechanical equipment in our models and when we create a structural drawing make all of the mechanical item print in a light ghosted color. I created a layer property filter with a huge list of all the possible equipment prefix's like *cl-* *tk-* *rv-* and so on to filter out all the equipment layers. It took a long time to create, so I want to export it and import it into future drawing.

View 1 Replies View Related







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