LayupPlotDict
Last update: 16.07.2025class compolyx.plot_data.LayupPlotDict(name, label=None, obj=None, list=[], item_type=, parent=None, key_attr='name')
Container for Layup Plots
Attributes
| Name | Description |
|---|---|
LayupPlotDict.enabled |
Whether this object is currently enabled or not |
LayupPlotDict.is_dict_item |
Specifies whether the object is an item of a dict |
LayupPlotDict.is_list_item |
Specifies whether the object is an item of a list |
LayupPlotDict.item_type |
Type of items stored in this UIDict |
LayupPlotDict.key_attr |
Name of attribute of item objects which is mapped to the key of the UIDict |
LayupPlotDict.label |
|
LayupPlotDict.link_path |
Root path of the current node in the tree for links to this object |
LayupPlotDict.name |
Name of object |
LayupPlotDict.parent |
Parent object in tree |
LayupPlotDict.root_path |
Root path of the current node in the tree |
Methods
| Name | Description |
|---|---|
LayupPlotDict.append(value) |
Append a new item to the UIDict |
LayupPlotDict.clear() |
|
LayupPlotDict.copy_plot(source) |
Copy a plot object |
LayupPlotDict.create_angle_plot([name, id, ...]) |
Create a Angle Plot object |
LayupPlotDict.create_draping_plot([name, ...]) |
Create a Draping Plot object |
LayupPlotDict.create_field_definition_plot([...]) |
Create a FieldDefinition Plot object |
LayupPlotDict.create_layup_mapping_plot([...]) |
Create a Layup Mapping Plot object |
LayupPlotDict.create_material_plot([name, ...]) |
Create a Material Plot object |
LayupPlotDict.create_scalar_field_plot([...]) |
Create a Field Plot object |
LayupPlotDict.create_thickness_plot([name, ...]) |
Create a Thickness Plot object |
LayupPlotDict.create_user_defined_plot([...]) |
Create a User-defined Plot object |
LayupPlotDict.extend(values) |
Extend the UIDict with multiple items at once |
LayupPlotDict.find(func) |
Return the value of the first value in dict where func(value) == True |
LayupPlotDict.find_key(func) |
Return the key of the first value in dict where func(value) == True |
LayupPlotDict.find_parent(type) |
Function steps up the tree and returns the first parent with given type |
LayupPlotDict.get(key[, default]) |
|
LayupPlotDict.index(key) |
|
LayupPlotDict.items() |
Return ordered list with (key,value) pairs |
LayupPlotDict.iteritems() |
|
LayupPlotDict.iterkeys() |
|
LayupPlotDict.itervalues() |
|
LayupPlotDict.keys() |
|
LayupPlotDict.new(name[, type]) |
|
LayupPlotDict.rename(old_name, new_name) |
Rename function which updates the name of the object by calling obj._update_name(new_name) |
LayupPlotDict.sort([cmp, key, reverse]) |
|
LayupPlotDict.update_key(old) |
Update old key of object to the current value of the key_attr attribute of this object |
LayupPlotDict.values() |
|
LayupPlotDict.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node |