Table of Contents

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

Id int

The part attribute identifier (primary key).

ObjType int

Object type code.

FormType int

Form type code.

ObjClass int

Part class number (color/display class).

AssStartNo int

Assembly start number.

Flags int

Attribute flags.

NPoints int

Number of points.

PartFlags int

Additional part flags.

Prefix string

Part numbering prefix / group.

Name string

Part name (e.g. "BEAM", "COLUMN", "PLATE").

Profile string

Part profile name (e.g. "IPE300", "HEA200", "PL10*100").

ParameterStringId int

Identifier in the string table for parameter strings.

AssemblyPosition string

Assembly position prefix.

AssemblyName string

Assembly name.

Material string

Material grade (e.g. "S235JR", "S355J2").

Finish string

Part surface finish.

AssemblyType int

Assembly type code.

PourPhase int

Pour phase number.

Fields

ExpectedRowSize

The expected row body size in bytes: 372.

public const int ExpectedRowSize = 372

Field Value

int

TableKey

The table key in model database sections: 44.

public const int TableKey = 44

Field Value

int

Properties

AssStartNo

Assembly start number.

public int AssStartNo { get; init; }

Property Value

int

AssemblyName

Assembly name.

public string AssemblyName { get; init; }

Property Value

string

AssemblyPosition

Assembly position prefix.

public string AssemblyPosition { get; init; }

Property Value

string

AssemblyType

Assembly type code.

public int AssemblyType { get; init; }

Property Value

int

Finish

Part surface finish.

public string Finish { get; init; }

Property Value

string

Flags

Attribute flags.

public int Flags { get; init; }

Property Value

int

FormType

Form type code.

public int FormType { get; init; }

Property Value

int

Id

The part attribute identifier (primary key).

public int Id { get; init; }

Property Value

int

Material

Material grade (e.g. "S235JR", "S355J2").

public string Material { get; init; }

Property Value

string

NPoints

Number of points.

public int NPoints { get; init; }

Property Value

int

Name

Part name (e.g. "BEAM", "COLUMN", "PLATE").

public string Name { get; init; }

Property Value

string

ObjClass

Part class number (color/display class).

public int ObjClass { get; init; }

Property Value

int

ObjType

Object type code.

public int ObjType { get; init; }

Property Value

int

ParameterStringId

Identifier in the string table for parameter strings.

public int ParameterStringId { get; init; }

Property Value

int

PartFlags

Additional part flags.

public int PartFlags { get; init; }

Property Value

int

PourPhase

Pour phase number.

public int PourPhase { get; init; }

Property Value

int

Prefix

Part numbering prefix / group.

public string Prefix { get; init; }

Property Value

string

Profile

Part profile name (e.g. "IPE300", "HEA200", "PL10*100").

public string Profile { get; init; }

Property Value

string

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.PartAttrRow.

public static PartAttrRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

PartAttrRow

Decode(TableRow)

Decodes the body of row into a TdbIO.PartAttrRow.

public static PartAttrRow Decode(TableRow row)

Parameters

row TableRow

Returns

PartAttrRow