SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
Classes | Functions
ModelPins Namespace Reference

ModelPins gives access to investigate, create, add, and remove pins from the model in the same ways users can interactively. More...

Classes

class  AutoAdd
 Use this with a python 'with' statement like this: with AutoAdd() as add: add.Add(1,1) add.FindNearbyMembers() More...
class  DynamicOffset
 Base class for complex offsets. More...
class  EditAndApply
 Use this to add, remove, and edit pins and apply them when you're finished, like this: with EditAndApply() as edit: edit.Remove(mypin) #remove it before modifying it mypin.SetSomeProperty() #modify the pin edit.Add(mypin) #add the modified pin back Your changes are applied when the with block exits. More...
class  EvenSpacing
 No documentation available. More...
class  ExactLocation
 No documentation available. More...
class  GridToMember
 Pins a member end to an erection view plane. More...
class  MemberToMember
 Pins a member to the line of another member. More...
class  MemberToMemberEndPlane
 No documentation available. More...
class  MemberToMemberPlane
 Pins members to another member's flange or web plane. More...
class  MemberToSelf
 Pins a member end to a plane based on its web or flange. More...
class  ModelPin
 The base class for pins in the model. More...
class  StaticOffset
 A static variant of a complex offset. More...
class  WebMidPointOffset
 An offset to half the nominal depth below the member line. More...

Functions

def Add
def For
def PinMemberEnd
def Remove
def UnPinMemberEnd

Detailed Description

ModelPins gives access to investigate, create, add, and remove pins from the model in the same ways users can interactively.

Function Documentation

def ModelPins.Add (   pin)
Returns
Instance of type None
     Add a ModelPin to the job.  This takes a single ModelPin as its only argument.
 
     C++ signature :
         void Add(Alloy::Pointer::Pointer<SDS2::ModelRestraint::ModelRestraint>)
def ModelPins.For (   member,
  end 
)
Returns
Instance of type list
     Get a list of pins that affect a single member end.  This takes a member number and end (0, or 1 for left and right
 
     C++ signature :
         boost::python::list For(int,int)
def ModelPins.PinMemberEnd (   member,
  end 
)
Returns
Instance of type None
     C++ signature :
         void PinMemberEnd(int,int)
def ModelPins.Remove (   pin)
Returns
Instance of type bool
     Remove a ModelPin from the job.  This takes a single ModelPin as its only argument.
 
     C++ signature :
         bool Remove(Alloy::Pointer::Pointer<SDS2::ModelRestraint::ModelRestraint>)
def ModelPins.UnPinMemberEnd (   member,
  end 
)
Returns
Instance of type None
     C++ signature :
         void UnPinMemberEnd(int,int)