Gets all data fields.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public PartDataField[] GetAllDataFields()
Visual Basic
Public Function GetAllDataFields As PartDataField()
Visual C++
public: array<PartDataField^>^ GetAllDataFields()
Examples

1Network oNetwork = ts.GetObject(objId, OpenMode.ForRead) as Network; 2ed.WriteMessage("Pipe Network: {0}\n", oNetwork.Name); 3 4// Get PartDataRecord for first pipe in the network 5ObjectId pipeId = oNetwork.GetPipeIds()[0]; 6Pipe oPipe = ts.GetObject(pipeId, OpenMode.ForRead) as Pipe; 7PartDataField[] oDataFields = oPipe.PartData.GetAllDataFields(); 8ed.WriteMessage("Additional info for pipe: {0}\n", oPipe.Name); 9foreach ( PartDataField oPartDataField in oDataFields ) { 10 ed.WriteMessage("Name: {0}, Description: {1}, DataType: {2}, Value: {3}\n", 11 oPartDataField.Name, 12 oPartDataField.Description, 13 oPartDataField.DataType, 14 oPartDataField.Value); 15}