Click or drag to resize

BuilderElement Class

Represents an element which lives in the a GH definition. GrassElement 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: 2.2.0.4 (2.2.0.4)
Syntax
[SerializableAttribute]
public abstract class BuilderElement : BuilderElementBase, 
	ICloneable, ISerializable

The BuilderElement type exposes the following members.

Constructors
  NameDescription
Protected methodBuilderElement
Initializes a new instance of the BuilderElement class. create an element builder.
Protected methodBuilderElement(SerializationInfo, StreamingContext)
Initializes a new instance of the BuilderElement class. Deserialize BuilderElement.
Top
Properties
  NameDescription
Public propertybending_stiff
Gets or sets a value indicating whether bending stiffness is taken into account (turns beams into trusses and shells into membranes and vice versa).
Public propertycanBuckle
Gets or sets a value indicating whether can buckle.
Public propertycolor
Gets or sets user defined color of the beam-set.
Public propertycrosec
Gets or sets the return cross section of the element.
Public propertyEcce
Gets the nodal eccentricity of the element.
Public propertyecce_glo
Gets or sets eccentricity which is defined in the global coordinate system.
Public propertyecce_loc
Gets or sets 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 propertyguid
Gets the the builder's identifier.
Public propertyhasEccent
Gets a value indicating whether an element eccentricity is present.
Public propertyid
Gets or sets the identifier (name) of the element.
Public propertyids_secondary
Gets the secondary identifiers of the element.
Public propertyis_active
Gets or sets a value indicating whether the element is active. 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
Gets a value indicating whether the builder element is valid.
Public propertyis_visible
Gets or sets a value indicating whether the element is visible: true if the element is visible on the canvas.
Public propertyIsValid
Gets a value indicating whether the element is valid.
Public propertymodified_height
Gets or sets 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
Gets or sets the cross section wall thickness modification factor of the this element. Can be set in a GH definition with the ModifyBeam-component.
Public propertynII
Gets or sets list of nodal indexes or null.
Public propertyOri
Gets or sets the orientation of the element.
Public propertyparent_ind
Gets or sets 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
Gets or sets the position of the element.
Public propertyUserData
Gets access to the user-data dictionary.
(Inherited from CommonObject.)
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 methodaddSecondaryID
Adds a secondary element identifier.
Public methodClone
clone the builder-element.
Public methodClone(ModelElement)
clone grass-element and link it to a given model element.
Public methodCloneSecondaryIDs
clone the secondary element identifiers.
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.)
Protected methodGetObjectData
Serializes an element.
(Overrides CommonObjectGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasUserData
true if the object has user-data attached.
(Inherited from CommonObject.)
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 CommonObject.)
Top
Fields
  NameDescription
Protected field_color
user defined color of the beam-set.
Protected field_eccentricity
nodal eccentricity of the element.
Protected field_guid
the builder's identifier.
Protected field_id
user given primary identification (name) of element.
Protected field_ids_secondary
user given further identification (name) of element.
Protected field_orientation
orientation of the element.
Protected field_position
position of the element.
Top
See Also