This class collects all properties that can be set on a geometrical model.
This should allow for storing: - materials - sections - any properties - node properties - elem properties - model properties (current unused: use unnamed properties)
The PropertyDB class has this constructor:
) |
PropertyDB objects have the following methods:
clas,kind) |
This is a class method, not an instance method.
aDict) |
aDict) |
kind='',tag=None,set=None,setname=None) |
A property can hold almost anything, just like any Dict type. It has however four predefined keys that should not be used for anything else than explained hereafter: - nr: a unique id, that never should be set/changed by the user. - tag: an identification tag used to group properties - set: a single number or a list of numbers identifying the geometrical elements for wich the property is set, or the name of a previously defined set. - setname: the name to be used for this set. Default is to use an automatically generated name. If setname is specified without a set, this is interpreted as a set= field. Besides these, any other fields may be defined and will be added without checking.
kind='',rec=None,tag=None,attr=[],delete=False) |
kind is either '', 'n', 'e' or 'm' If rec is given, it is a list of record numbers or a single number. If a tag or a list of tags is given, only the properties having a matching tag attribute are returned. If a list of attibutes is given, only the properties having those attributes are returned.
If delete==True, the returned properties are removed from the database.
plist,kind='') |
kind) |
kind='',rec=None,tag=None,attr=[]) |
This is equivalent to getProp() but the returned properties are removed from the database.
prop=None,set=None,setname=None,tag=None,cload=None,bound=None,displ=None,csys=None,ampl=None) |
A node property can contain any combination of the following fields: - tag: an identification tag used to group properties (this is e.g. used to flag Step, increment, load case, ...) - set: a single number or a list of numbers identifying the node(s) for which this property will be set, or a set name If None, the property will hold for all nodes. - cload: a concentrated load: a list of 6 values - bound: a boundary condition: a list of 6 codes (0/1) - displ: a prescribed displacement: a list of tuples (dofid,value) - csys: a CoordSystem - ampl: the name of an Amplitude
prop=None,grp=None,set=None,setname=None,tag=None,section=None,eltype=None,dload=None,ampl=None) |
An elem property can contain any combination of the following fields: - tag: an identification tag used to group properties (this is e.g. used to flag Step, increment, load case, ...) - set: a single number or a list of numbers identifying the element(s) for which this property will be set, or a set name If None, the property will hold for all elements. - grp: an elements group number (default None). If specified, the element numbers given in set are local to the specified group. If not, elements are global and should match the global numbering according to the order in which element groups will be specified in the Model. - eltype: the element type (currently in Abaqus terms). - section: an ElemSection specifying the element section properties. - dload: an ElemLoad specifying a distributed load on the element. - ampl: the name of an Amplitude