AutoCAD Civil 3D :: Property List And Name Changes?
Sep 17, 2013
When I pick a feature line, the property dialog would show Feature line, and list the information.
Now for some reason, I get aecc_feature_line and the property dialog shows a different list of information.
How do I get back to the Feature line list.
View 9 Replies
ADVERTISEMENT
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
Feb 12, 2013
Is there a way to control which of two 'Graphic Property definitions' are used via a formula property with a IF, Then, condition statement?
View 3 Replies
View Related
Aug 25, 2011
I have two related properties... One is a formula property, the other is a manual property.
In the formular property I'd like to set the value of the manual property.
View 1 Replies
View Related
May 14, 2012
I have a bunch of GIS points that have been inserted into a drawing. All the points have data associated with them, gpm values, that I would like to make more clear. Is there a way to filter and color code them with out doing it by hand?
View 3 Replies
View Related
May 13, 2013
I am having trouble with my display I can get autocad to display my property box for subassembly I have all my locks turned off for lock location setting and when I want to insert a sub assembly the window will not pop up and I also notice that when I pick a entity in my drawing my layer to that object will not become active in my layer tool box.
View 2 Replies
View Related
Oct 25, 2012
I draw property plats for a surveyor and looking for a way to add the bearings (for example: N 56 15' 32" E) along the property lines. Right now, I use the Distance command to find out the bearing, write it down, and then add it to the aligned linear dimension text. I'm guessing there's a faster way to get a bearing along with the distance without typing it in.
View 2 Replies
View Related
Oct 2, 2012
The above sums it all up. Note the properties are NOT GREY they are what they are supposed to be.
The file was created in version 2012 by another designer now it is being completed in 2013 by myself.
I can do a quick fix by creating a wblock of the problem lines and text etc to enable a print out without the GREYING
problem but once the drawing is closed and opened once again the drawing has GREYED whatever is in model space again. (note that xrefed lines etc are fine)
Ps I have attached the problem file with all the xrefs and jaz unattached/taken off etc
View 9 Replies
View Related
Jun 13, 2013
Is there a way to get the vertical scale property of a profile view and not use COM?
View 4 Replies
View Related
Sep 14, 2013
In the documentation API 2014: for SuperelevationCriticalStationCollection appears the property "Item":
[URL]
but I´m trying to use it and it doesn´t exist.
public static void Breaksegment(Autodesk.AutoCAD.DatabaseServices.ObjectId identificador) { try { Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; Editor ed = doc.Editor; using (DocumentLock docLock = doc.LockDocument()) { using (Transaction trans = db.TransactionManager.StartTransaction()) { Alignment align = trans.GetObject(identificador, OpenMode.ForWrite) as Alignment; SuperelevationCriticalStationCollection criteriaStationColl = align.SuperelevationCriticalStations; criteriaStationColl.Item trans.Commit(); } } } catch (System.Exception ex) { System.Windows.Forms.MessageBox.Show(ex.Message); } }
I have added the Reference:Assembly: AeccDbMgd (in AeccDbMgd.dll) and I ´m using Autodesk.Civil.DatabaseServices
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit
View 3 Replies
View Related
May 3, 2012
I use civil 2012, and have a drawing with over 400 attribute blocks that are all set to be "green" in the enhanced attribute editor, properties tab. I would like for all of the attributes to be set to "by layer". However, I find that the it only allows me to change one block at a time. As said earllier, I have over 400 blocks.
View 2 Replies
View Related
Dec 23, 2013
In "SettingsSampleLine.SettingsStyles" there are the default properties:
SampleLineSampleLineLabelSampleLineLabelStyleIdSampleLineStyleIdSettingsSampleLine estiloLM = CivilApplication. ActiveDocument. Settings. Get Settings<SettingsSampleLine>();string NombreEstilo=estiloLM.Styles.SampleLine.Value;string NombreEstiloEtiqueta = estiloLM. Styles. SampleLineLabel. Value;
but I don´t find SampleLineLabel property in Sample Line Class¿?Is that property in sample line group?
View 1 Replies
View Related
Apr 16, 2013
I clicked on Auto Hide in property palette settings, and now can't bring it back. I click on ribbon where is the property icon or type in command line, the property palette doesn't show up.Reinstalling program didn't work either.
View 2 Replies
View Related
May 10, 2011
I'm using C3D 2011.
I have made Property clasification for importing attribute imformation from an ascii file.
In the drawing all the information show up.
However, importing the survey point into the survey database, I loses the property classification attributes.
How do you add user defined property classification to the survey database?
View 9 Replies
View Related
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
Jun 28, 2012
Having problems using custom pipe properties in pipe label expressions in 2013? I have some expressions relating to stub callouts and the ones that directly reference the custom properties lose that reference every so often.
For example I have and expression called "STUB-Riser-Length2d" which is defined as "{Riser Length} / SQRT(2)" where "Riser Length" is the custom pipe property. Every week or so it changes to "/ SQRT(2)".
I haven't been able to find the pattern as to exactly when this happens yet. All expressions not referencing custom properties seem to be holding steady. The pipe catalog is on a shared drive on the network, if that makes any difference.
Civil 3D 2013 - Windows 7 Pro 64 - Dell T3500 - Xeon 2.67 - 24gb - Quadro 600
View 4 Replies
View Related
Aug 7, 2013
I am displaying stationing for my points, the points were brought in with a user defined classification. Then a table was created with the classification.
Base file- table looks good / when I xref the table it loses the station formatting.
I even tried importing all my user defined tables and styles and still didnt work
Civil 3D 2012 SP3
View 2 Replies
View Related
May 18, 2013
I need to update the user defined property values using C# code,I can see information on how to ge the values of UDP but cannot see any information on how to modify, edit, update or add information to the UDP of a point.Basically in the attached image i want to add "Street light" to the Type UDP.
View 5 Replies
View Related
Mar 17, 2013
I am using AutoCad C3D. I have drawn a building and now I am trying to position the building on a plot with uneven property lines using only “tie distances” from the spots on the property to specific spots of the building.
I do not know which C3D program functions (with just distances known) to get the building placed properly on the plot.
View 9 Replies
View Related
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
Dec 28, 2012
my C3D11 is having one hell of a time sorting survey points by description. I crash everytime I open a drawing, open a survey database, edit points, sort by description.
View 6 Replies
View Related
Jun 7, 2013
I want a list of all profiles in the drawing. How can i do?
I have a list of all alignments with:
ObjectIdCollection alignColl = civDoc.GetAlignmentIds();
But profiles don´t have the method GetProfilesIds();
or how to check if each alignment has any profiles?
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit
View 2 Replies
View Related
Feb 20, 2013
I would like show all alignments in a combobox. I want do a application in C#.
Autocad Civil 3D 2014 +SP1
Quad Core Intel i7 3770-cpu 3.40Ghz.
ssd samsung 840 pro 512gb+ssd samsung 840 pro 256 gb+1tb hdd
32gb RAM 1600 Mhz.
nVidia Quadro 2000.
Win 7 Pro 64bit
View 8 Replies
View Related
Sep 4, 2012
Trying to get the cut/fill quantities by computing the materials & I'm getting confused.
I imported another criteria & for ground removed it has existing as below & my datum as above. For fill, it has the datum below & existing above. The cut/fill matches a comparison between the 2 surfaces, but I just want to make sure I'm doing it right. Explain why for cut the datum's set to above & for fill it's set to below,
View 1 Replies
View Related
Jan 7, 2014
What setting/toggle needs to be turned on to preview the list of parcels in a site? I have a user who clicks on the parcels heading in his site and doesn't see a preview of the list:
Don't deal it as parcel preview when you actually click on the name of the parcel. That I do know how to toggle on. We're just looking for the list.
View 9 Replies
View Related
Feb 26, 2013
I just had an internal request for this and I had to look it up. So I'll share what I found and have a place to find it myself next time.
One way to do it is to select a COGO point to bring up the COGO Point Contextual menu tab. In COGO Point Tools you can select List Available Point Numbers.
View 9 Replies
View Related
May 13, 2013
I am having trouble understanding "Exercise 7: Creating a pay item list". How to find video of how this is created, or information to better understand the .csv and .xml utilized by QTO better. I am new to editing any .xml codes.
View 2 Replies
View Related
Aug 1, 2013
I have a long (2+ mile) alignment that has many "tangent intersection labels" which have station and delta angles. I need to create a table that lists the stationing and the deltas. How I can get this info. I have tried pipe networks and alignment tables w/o success.
View 2 Replies
View Related
Apr 30, 2013
I'm constantly picking the 'none' snap when i mean to pick 'nearest'. I want to delete 'none' from my list of snaps that come up when i click the middle mouse button. how is this done?
Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0
View 2 Replies
View Related
Jul 26, 2013
Is it possible to export a list of Alignment and/or Shortcuts (Drefs) from a drawing?
View 2 Replies
View Related
Nov 9, 2012
I am using Civil 3D Map 2009 and its showing many unwanted printers in the list when I try to print a Map. How can I delete printers from list.
View 6 Replies
View Related