Struct PartAttrRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 44 (part_attr, size 372): part profile, material, finish, and classification.
public readonly record struct PartAttrRow : IEquatable<PartAttrRow>Implements
Inherited Members
Constructors
PartAttrRow(int, int, int, int, int, int, int, int, string, string, string, int, string, string, string, string, int, int)
Decoded row of table 44 (part_attr, size 372): part profile, material, finish, and classification.
public PartAttrRow(int Id, int ObjType, int FormType, int ObjClass, int AssStartNo, int Flags, int NPoints, int PartFlags, string Prefix, string Name, string Profile, int ParameterStringId, string AssemblyPosition, string AssemblyName, string Material, string Finish, int AssemblyType, int PourPhase)Parameters
Idint-
The part attribute identifier (primary key).
ObjTypeint-
Object type code.
FormTypeint-
Form type code.
ObjClassint-
Part class number (color/display class).
AssStartNoint-
Assembly start number.
Flagsint-
Attribute flags.
NPointsint-
Number of points.
PartFlagsint-
Additional part flags.
Prefixstring-
Part numbering prefix / group.
Namestring-
Part name (e.g. "BEAM", "COLUMN", "PLATE").
Profilestring-
Part profile name (e.g. "IPE300", "HEA200", "PL10*100").
ParameterStringIdint-
Identifier in the string table for parameter strings.
AssemblyPositionstring-
Assembly position prefix.
AssemblyNamestring-
Assembly name.
Materialstring-
Material grade (e.g. "S235JR", "S355J2").
Finishstring-
Part surface finish.
AssemblyTypeint-
Assembly type code.
PourPhaseint-
Pour phase number.
Fields
ExpectedRowSize
The expected row body size in bytes: 372.
public const int ExpectedRowSize = 372Field Value
TableKey
The table key in model database sections: 44.
public const int TableKey = 44Field Value
Properties
AssStartNo
Assembly start number.
public int AssStartNo { get; init; }Property Value
AssemblyName
Assembly name.
public string AssemblyName { get; init; }Property Value
AssemblyPosition
Assembly position prefix.
public string AssemblyPosition { get; init; }Property Value
AssemblyType
Assembly type code.
public int AssemblyType { get; init; }Property Value
Finish
Part surface finish.
public string Finish { get; init; }Property Value
Flags
Attribute flags.
public int Flags { get; init; }Property Value
FormType
Form type code.
public int FormType { get; init; }Property Value
Id
The part attribute identifier (primary key).
public int Id { get; init; }Property Value
Material
Material grade (e.g. "S235JR", "S355J2").
public string Material { get; init; }Property Value
NPoints
Number of points.
public int NPoints { get; init; }Property Value
Name
Part name (e.g. "BEAM", "COLUMN", "PLATE").
public string Name { get; init; }Property Value
ObjClass
Part class number (color/display class).
public int ObjClass { get; init; }Property Value
ObjType
Object type code.
public int ObjType { get; init; }Property Value
ParameterStringId
Identifier in the string table for parameter strings.
public int ParameterStringId { get; init; }Property Value
PartFlags
Additional part flags.
public int PartFlags { get; init; }Property Value
PourPhase
Pour phase number.
public int PourPhase { get; init; }Property Value
Prefix
Part numbering prefix / group.
public string Prefix { get; init; }Property Value
Profile
Part profile name (e.g. "IPE300", "HEA200", "PL10*100").
public string Profile { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.PartAttrRow.
public static PartAttrRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.PartAttrRow.
public static PartAttrRow Decode(TableRow row)Parameters
rowTableRow