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
barBarReference bar element
shapePtcShapeTypelossesPtcLossesmanufacturingPtcManufacturingTypestrandPtcStrandLibTypejackingSideJackingSidejackingStressdoublenumberOfStrandsintidentifierstring
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
lineLineEdgeReference line element
shapePtcShapeTypelossesPtcLossesmanufacturingPtcManufacturingTypestrandPtcStrandLibTypejackingSideJackingSidejackingStressdoublenumberOfStrandsintidentifierstring
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
slabSlabReference slab element
lineLineSegmentCable line
shapePtcShapeTypelossesPtcLossesmanufacturingPtcManufacturingTypestrandPtcStrandLibTypejackingSideJackingSidejackingStressdoublenumberOfStrandsintidentifierstring
Properties
BaseObject
public Guid BaseObject { get; set; }
Property Value
EndPoint
public Point3d EndPoint { get; set; }
Property Value
JackingSide
public JackingSide JackingSide { get; set; }
Property Value
JackingStress
public double JackingStress { get; set; }
Property Value
LocalZ
public Vector3d LocalZ { get; set; }
Property Value
Losses
public PtcLosses Losses { get; set; }
Property Value
Manufacturing
public PtcManufacturingType Manufacturing { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
NumberOfStrands
public int NumberOfStrands { get; set; }
Property Value
ShapeBasePoints
public PtcShapeType ShapeBasePoints { get; set; }
Property Value
StartPoint
public Point3d StartPoint { get; set; }
Property Value
StrandType
public PtcStrandLibType StrandType { get; set; }
Property Value
StrandTypeGuid
public Guid StrandTypeGuid { get; set; }
Property Value
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
barBarptcList<Ptc>overwriteboolOverwrite PTC on bar if a PTC sharing guid already exists on the bar?
Returns
ToString()
public override string ToString()