Click or drag to resize

BuilderElement Class

Represents an element which lives in the a GH definition. GrasssElement is the base class of generic containers for element data generated by the GH definition. In Assemble it gets converted to Beams, Springs,...
Inheritance Hierarchy

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public abstract class BuilderElement : ICloneable

The BuilderElement type exposes the following members.

Constructors
  NameDescription
Protected methodBuilderElement
create an element builder
Top
Properties
  NameDescription
Public propertybending_stiff
setter/getter for bending stiffness (turns beams into trusses and vice versa)
Public propertycanBuckle
returns list of nodal indexes or null
Public propertycolor
user defined color of the beam-set
Public propertycrosec
return cross section of the element
Public propertyEcce
nodal eccentricity of the element
Public propertyecce_glo
set/get eccentricity which is defined in the global coordinate system
Public propertyecce_loc
sets/gets eccentricity which is local to the element and can be separately set for each of them. The other types of eccentricity would be either attached to a cross section or oriented globally
Public propertyhasEccent
getter for flag which is true if element eccentricity is present
Public propertyid
set/get identifier (name) of the element
Public propertyis_active
set/get activation state of the element. If not active, the elements stiffness is reduced to such a degree that it does not influence results any more (soft-kill approach). The small remaining stiffness should however suffice to keep the system from becoming numerically kinematic.
Public propertyis_valid
true if the builder element is valid
Public propertyis_visible
set/get visibility of the element: true if the element is visible on the canvas
Public propertyIsValid
true if the element is valid
Public propertymodified_height
set gets the cross section height (depth) modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component
Public propertymodified_thick
set gets the cross section wall thickness modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component
Public propertynII
returns list of nodal indexes or null
Public propertyOri
orientation of the element
Public propertyparent_ind
index of parent element from which this element may inherit its properties (material, cross section,...) A negative value signals that there is no parent;
Public propertyPos
position of the element
Top
Methods
  NameDescription
Public methodaccepts
returns true if the given cross section can be applied to the element. Returns false if you test e.g. a shell cross section against a beam element.
Public methodClone
clone the builder-element
Public methodClone(ModelElement)
clone grass-element and link it to a given model element.
Public methodCopy
copy contents of another grass-element
Public methoddisassembleElement
Disassemble an element into its constituents
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodparent_inds
return the indexes of all parents of the element
Public methodsnapElement
change the element if nodes snap together according to the given list of node indexes. returns true if the element was completely snapped
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_color
user defined color of the beam-set
Protected field_eccentricity
nodal eccentricity of the element
Protected field_id
user given identification (name) of element
Protected field_orientation
orientation of the element
Protected field_position
position of the element
Top
See Also