Table of Contents

Class Ptc

Namespace
FemDesign.Reinforcement
Assembly
FemDesign.Core.dll
public class Ptc : EntityBase, IStructureElement, IFemDesignEntity
Inheritance
Ptc
Implements
Inherited Members
Extension Methods

Constructors

Ptc(Bar, PtcShapeType, PtcLosses, PtcManufacturingType, PtcStrandLibType, JackingSide, double, int, string)

Construct post-tension cable

public Ptc(Bar bar, PtcShapeType shape, PtcLosses losses, PtcManufacturingType manufacturing, PtcStrandLibType strand, JackingSide jackingSide, double jackingStress, int numberOfStrands = 3, string identifier = "PTC")

Parameters

bar Bar

Reference bar element

shape PtcShapeType
losses PtcLosses
manufacturing PtcManufacturingType
strand PtcStrandLibType
jackingSide JackingSide
jackingStress double
numberOfStrands int
identifier string

Ptc(LineEdge, PtcShapeType, PtcLosses, PtcManufacturingType, PtcStrandLibType, JackingSide, double, int, string)

Construct post-tension cable

public Ptc(LineEdge line, PtcShapeType shape, PtcLosses losses, PtcManufacturingType manufacturing, PtcStrandLibType strand, JackingSide jackingSide, double jackingStress, int numberOfStrands = 3, string identifier = "PTC")

Parameters

line LineEdge

Reference line element

shape PtcShapeType
losses PtcLosses
manufacturing PtcManufacturingType
strand PtcStrandLibType
jackingSide JackingSide
jackingStress double
numberOfStrands int
identifier string

Ptc(Slab, LineSegment, PtcShapeType, PtcLosses, PtcManufacturingType, PtcStrandLibType, JackingSide, double, int, string)

Construct post-tension cable

public Ptc(Slab slab, LineSegment line, PtcShapeType shape, PtcLosses losses, PtcManufacturingType manufacturing, PtcStrandLibType strand, JackingSide jackingSide, double jackingStress, int numberOfStrands = 3, string identifier = "PTC")

Parameters

slab Slab

Reference slab element

line LineSegment

Cable line

shape PtcShapeType
losses PtcLosses
manufacturing PtcManufacturingType
strand PtcStrandLibType
jackingSide JackingSide
jackingStress double
numberOfStrands int
identifier string

Properties

BaseObject

public Guid BaseObject { get; set; }

Property Value

Guid

EndPoint

public Point3d EndPoint { get; set; }

Property Value

Point3d

JackingSide

public JackingSide JackingSide { get; set; }

Property Value

JackingSide

JackingStress

public double JackingStress { get; set; }

Property Value

double

LocalZ

public Vector3d LocalZ { get; set; }

Property Value

Vector3d

Losses

public PtcLosses Losses { get; set; }

Property Value

PtcLosses

Manufacturing

public PtcManufacturingType Manufacturing { get; set; }

Property Value

PtcManufacturingType

Name

public string Name { get; set; }

Property Value

string

NumberOfStrands

public int NumberOfStrands { get; set; }

Property Value

int

ShapeBasePoints

public PtcShapeType ShapeBasePoints { get; set; }

Property Value

PtcShapeType

StartPoint

public Point3d StartPoint { get; set; }

Property Value

Point3d

StrandType

public PtcStrandLibType StrandType { get; set; }

Property Value

PtcStrandLibType

StrandTypeGuid

public Guid StrandTypeGuid { get; set; }

Property Value

Guid

Methods

AddPtcToBar(Bar, List<Ptc>, bool)

Add PTC to bar. Internal method use by GH components and Dynamo nodes.

public static Bar AddPtcToBar(Bar bar, List<Ptc> ptc, bool overwrite)

Parameters

bar Bar
ptc List<Ptc>
overwrite bool

Overwrite PTC on bar if a PTC sharing guid already exists on the bar?

Returns

Bar

ToString()

public override string ToString()

Returns

string