|
def | activateWorkbench (self, wb_name) |
|
def | clipPlane (self, doc_obj_or_list, enable, placement, offset=0.02) |
|
def | forget (self) |
|
def | forgetDetail (self, detail) |
|
def | get_all_dependent (self, doc_obj, subname=None) |
|
def | has (self, detail) |
|
def | hide (self, doc_obj_or_list, links_too=True, mild_restore=None) |
|
def | hide_all_dependencies (self, doc_obj) |
|
def | hide_all_dependent (self, doc_obj) |
|
def | is_in_stack (self) |
|
def | modify (self, detail, mild_restore=None) |
|
def | modifyVPProperty (self, doc_obj_or_list, prop_names, new_value=JUST_SAVE, mild_restore=None) |
|
def | restore (self, ultimate=True) |
|
def | restore_all_dependent (self, doc_obj) |
|
def | restoreCamera (self, ultimate=False) |
|
def | restoreDetail (self, detail, ultimate=False) |
|
def | restoreVPProperty (self, doc_obj_or_list, prop_names) |
|
def | save (self, detail, mild_restore=False) |
|
def | saveBodyVisibleFeature (self, doc_obj_or_list) |
|
def | saveCamera (self, vw=None) |
|
def | setUnpickable (self, doc_obj_or_list, actual_pick_style=2) |
|
def | show (self, doc_obj_or_list, links_too=True, mild_restore=None) |
|
def | show_all_dependencies (self, doc_obj) |
|
def | show_all_dependent (self, doc_obj) |
|
def | sketchClipPlane (self, sketch, enable=None) |
|
def | stored_val (self, detail) |
|
TempoVis - helper object to save visibilities of objects before doing
some GUI editing, hiding or showing relevant stuff during edit, and
then restoring all visibilities after editing.
Constructors:
TempoVis(document, stack = MAINSTACK, **kwargs): creates a new TempoVis.
document: required. Objects not belonging to the document can't be modified via TempoVis.
stack: optional. Which stack to insert this new TV into. Can be:
a TVStack instance (then, the new TV is added to the top of the stack),
MAINSTACK special value (a global stack for the document will be used), or
None (then, the TV is not in any stack, and can be manually instertd into one if desired).
Any additional keyword args are assigned as attributes. You can use it to immediately set a tag, for example.
def Mod.Show.mTempoVis.TempoVis.activateWorkbench |
( |
|
self, |
|
|
|
wb_name |
|
) |
| |
References Mod.Show.mTempoVis.TempoVis._purge_milds(), Mod.Show.mTempoVis.TempoVis._value_after(), App::Enumeration::Object.data(), PartGui::FilletRadiusModel.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::VectorTableModel.data(), PartGui::ResultModel.data(), SpreadsheetGui::SheetModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< float >.data, Array2D< T >.data, Array2D< char >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::Stiffness.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, ConstraintItem.data(), Spreadsheet::PropertySheet.data, FeaturePython.ViewProviderOctahedron.data, Mod.Show.mTempoVis.TempoVis.data_requested, Mod.Show.mTempoVis.TempoVis.is_in_stack(), Mod.Show.mTempoVis.TempoVis.modify(), Gui::Dialog::Ui_DlgInputDialog.stack, Gui::View3DInventor.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, Mod.Show.TVStack.TVStack.stack, Base::StdInputStream.state, Base::PyGILStateRelease.state, Gui::RunningState.state, SoGestureEvent.state, Gui::StatefulLabel.state, DraftGui.DraftToolBar.state, femsolver.run.Machine.state(), ifc2x3.ifcownerhistory.state, ifc4.ifcownerhistory.state, AdaptivePath::EngagePoint.state, Mod.Show.mTempoVis.TempoVis.state, importXLSX.exprNode.state, and Mod.Show.mTempoVis.Wrn.
def Mod.Show.mTempoVis.TempoVis.clipPlane |
( |
|
self, |
|
|
|
doc_obj_or_list, |
|
|
|
enable, |
|
|
|
placement, |
|
|
|
offset = 0.02 |
|
) |
| |
clipPlane(doc_obj_or_list, enable, placement, offset): slices off the object with a clipping plane.
doc_obj_or_list: object or list of objects to alter (App)
enable: True if you want clipping, False if you want to remove clipping:
placement: XY plane of local coordinates of the placement is the clipping plane. The placement must be in document's global coordinate system.
offset: shifts the plane. Positive offset reveals more of the object.
Implementation detail: uses SoClipPlane node. If viewprovider already has a node
of this type as direct child, one is used. Otherwise, new one is created and
inserted as the very first node. The node is left, but disabled when tempovis is restoring.
References Mod.Show.mTempoVis.TempoVis.modify().
def Mod.Show.mTempoVis.TempoVis.forget |
( |
|
self | ) |
|
forget(self): clears this TV, making all changes done through it permanent.
Also, withdraws the TV from the stack.
References App::Enumeration::Object.data(), PartGui::FilletRadiusModel.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorTableModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, PartGui::ResultModel.data(), DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< float >.data, Array2D< char >.data, Array2D< T >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::Stiffness.data, KDL::Rotation.data, KDL::JntSpaceInertiaMatrix.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, ConstraintItem.data(), Spreadsheet::PropertySheet.data, SpreadsheetGui::SheetModel.data(), FeaturePython.ViewProviderOctahedron.data, Mod.Show.mTempoVis.TempoVis.is_in_stack(), Gui::Dialog::Ui_DlgInputDialog.stack, Gui::View3DInventor.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, Mod.Show.TVStack.TVStack.stack, Base::StdInputStream.state, Base::PyGILStateRelease.state, Gui::RunningState.state, SoGestureEvent.state, Gui::StatefulLabel.state, DraftGui.DraftToolBar.state, femsolver.run.Machine.state(), ifc2x3.ifcownerhistory.state, ifc4.ifcownerhistory.state, AdaptivePath::EngagePoint.state, Mod.Show.mTempoVis.TempoVis.state, and importXLSX.exprNode.state.
def Mod.Show.mTempoVis.TempoVis.forgetDetail |
( |
|
self, |
|
|
|
detail |
|
) |
| |
forgetDetail(detail): ditches a saved detail value, making the change done through this TV permanent.
References App::Enumeration::Object.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::VectorTableModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, PartGui::FilletRadiusModel.data(), PartGui::ResultModel.data(), DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< char >.data, Array2D< float >.data, Array2D< T >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Stiffness.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, ConstraintItem.data(), Spreadsheet::PropertySheet.data, SpreadsheetGui::SheetModel.data(), FeaturePython.ViewProviderOctahedron.data, and Mod.Show.mTempoVis.TempoVis.data_requested.
Referenced by Mod.Show.mTempoVis.TempoVis.restoreDetail().
def Mod.Show.mTempoVis.TempoVis.has |
( |
|
self, |
|
|
|
detail |
|
) |
| |
has(self, detail): returns True if this TV has this detail value saved.
example: tv.has(VProperty(obj, "Visibility"))
References App::Enumeration::Object.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorTableModel.data(), Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, PartGui::FilletRadiusModel.data(), PartGui::ResultModel.data(), DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< char >.data, Array2D< float >.data, Array2D< T >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Stiffness.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, ConstraintItem.data(), Spreadsheet::PropertySheet.data, SpreadsheetGui::SheetModel.data(), and FeaturePython.ViewProviderOctahedron.data.
Referenced by Mod.Show.mTempoVis.TempoVis.restoreDetail().
def Mod.Show.mTempoVis.TempoVis.modify |
( |
|
self, |
|
|
|
detail, |
|
|
|
mild_restore = None |
|
) |
| |
modify(detail, mild_restore = True): modifies scene detail through this TV.
The value is provided as an instance of SceneDetail implementation.
The procedure takes care to account for the stack - that is, if in a TV applied
later than this one this detail was changed too, the value saved therein is altered,
rather than applied to the scene.
mild_restore: if True, when restoring later, checks if the value was changed
by user after last call to modify(), and doesn't restore if it was changed.
Example: tv.modify(VProperty(obj, "Visibility", True))
References Mod.Show.mTempoVis.TempoVis._change(), Mod.Show.mTempoVis.TempoVis._value_after(), Mod.Show.mTempoVis.TempoVis.data_requested, Mod.Show.mTempoVis.TempoVis.modify(), Gui::RecentFilesAction.save(), Gui::RecentMacrosAction.save(), Gui::MacroCommand.save(), Gui::Dialog::DownloadManager.save(), Spreadsheet::Cell.save(), Mesh::Segment.save(), Points::PointKernel.save(), Mesh::MeshObject.save(), Sketcher::SketchObjectSF.save(), App::DynamicProperty.save(), Gui::PreferencePackManager.save(), WorkingPlane.Plane.save(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel.save(), Mod.Show.mTempoVis.TempoVis.save(), App::Document.save(), and Gui::Document.save().
Referenced by Mod.Show.mTempoVis.TempoVis.activateWorkbench(), Mod.Show.mTempoVis.TempoVis.clipPlane(), Mod.Show.mTempoVis.TempoVis.modify(), Mod.Show.mTempoVis.TempoVis.modifyVPProperty(), Mod.Show.mTempoVis.TempoVis.setUnpickable(), and Mod.Show.mTempoVis.TempoVis.sketchClipPlane().
def Mod.Show.mTempoVis.TempoVis.modifyVPProperty |
( |
|
self, |
|
|
|
doc_obj_or_list, |
|
|
|
prop_names, |
|
|
|
new_value = JUST_SAVE , |
|
|
|
mild_restore = None |
|
) |
| |
modifyVPProperty(doc_obj_or_list, prop_names, new_value = JUST_SAVE, mild_restore = None): modifies
prop_name property of ViewProvider of doc_obj_or_list, and remembers
original value of the property. Original values will be restored upon
TempoVis deletion, or call to restore().
mild_restore: test if user changed the value manually when restoring the TV.
References Mod.Show.mTempoVis.TempoVis.modify(), Mod.Show.mTempoVis.TempoVis.restore(), Gui::RecentFilesAction.save(), Gui::RecentMacrosAction.save(), Gui::MacroCommand.save(), Gui::Dialog::DownloadManager.save(), Spreadsheet::Cell.save(), Mesh::Segment.save(), Points::PointKernel.save(), Mesh::MeshObject.save(), Sketcher::SketchObjectSF.save(), App::DynamicProperty.save(), Gui::PreferencePackManager.save(), WorkingPlane.Plane.save(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel.save(), Mod.Show.mTempoVis.TempoVis.save(), App::Document.save(), Gui::Document.save(), Base::StdInputStream.state, Base::PyGILStateRelease.state, Gui::RunningState.state, SoGestureEvent.state, Gui::StatefulLabel.state, DraftGui.DraftToolBar.state, femsolver.run.Machine.state(), ifc2x3.ifcownerhistory.state, ifc4.ifcownerhistory.state, AdaptivePath::EngagePoint.state, Mod.Show.mTempoVis.TempoVis.state, importXLSX.exprNode.state, and Mod.Show.mTempoVis.Wrn.
Referenced by Mod.Show.mTempoVis.TempoVis.hide(), Mod.Show.mTempoVis.TempoVis.saveBodyVisibleFeature(), and Mod.Show.mTempoVis.TempoVis.show().
def Mod.Show.mTempoVis.TempoVis.restore |
( |
|
self, |
|
|
|
ultimate = True |
|
) |
| |
restore(ultimate = True): undoes all changes done through this tempovis / restores saved scene details.
ultimate: if true, the saved values are cleaned out, and the TV is withdrawn from
the stack. If false, the TV will still remember stuff, and restore can be called again.
References Mod.Show.mTempoVis.TempoVis._restoreDetail(), App::Enumeration::Object.data(), PartGui::FilletRadiusModel.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorTableModel.data(), Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcDocument.data, PartGui::ResultModel.data(), change_branch.ChangeBranchDialogModel.data(), importIFClegacy.IfcEntity.data, DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< char >.data, Array2D< float >.data, Array2D< T >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::Stiffness.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, Spreadsheet::PropertySheet.data, SpreadsheetGui::SheetModel.data(), ConstraintItem.data(), FeaturePython.ViewProviderOctahedron.data, Mod.Show.mTempoVis.Err, Mod.Show.mTempoVis.TempoVis.is_in_stack(), Gui::Dialog::Ui_DlgInputDialog.stack, Gui::View3DInventor.stack, draftguitools.gui_points.Point.stack, Mod.Show.mTempoVis.TempoVis.stack, Mod.Show.TVStack.TVStack.stack, Base::StdInputStream.state, Base::PyGILStateRelease.state, Gui::RunningState.state, SoGestureEvent.state, Gui::StatefulLabel.state, DraftGui.DraftToolBar.state, femsolver.run.Machine.state(), ifc2x3.ifcownerhistory.state, ifc4.ifcownerhistory.state, AdaptivePath::EngagePoint.state, Mod.Show.mTempoVis.TempoVis.state, and importXLSX.exprNode.state.
Referenced by Mod.Show.mTempoVis.TempoVis.modifyVPProperty(), and Mod.Show.mTempoVis.TempoVis.setUnpickable().
def Mod.Show.mTempoVis.TempoVis.save |
( |
|
self, |
|
|
|
detail, |
|
|
|
mild_restore = False |
|
) |
| |
save(detail, mild_restore = False):saves the scene detail to be restored.
The detail is saved only once; repeated calls are ignored.
mild_restore: internal, do not use.
References Mod.Show.mTempoVis.TempoVis._change(), Mod.Show.mTempoVis.TempoVis._value_after(), App::Enumeration::Object.data(), PartGui::FilletRadiusModel.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorTableModel.data(), Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, PartGui::ResultModel.data(), DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< char >.data, Array2D< T >.data, Array2D< float >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::Stiffness.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, SpreadsheetGui::SheetModel.data(), ConstraintItem.data(), Spreadsheet::PropertySheet.data, and FeaturePython.ViewProviderOctahedron.data.
Referenced by Mod.Show.mTempoVis.TempoVis.modify(), Mod.Show.mTempoVis.TempoVis.modifyVPProperty(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel.onSaveStyle(), and Mod.Show.mTempoVis.TempoVis.saveCamera().
def Mod.Show.mTempoVis.TempoVis.setUnpickable |
( |
|
self, |
|
|
|
doc_obj_or_list, |
|
|
|
actual_pick_style = 2 |
|
) |
| |
setUnpickable(doc_obj_or_list, actual_pick_style = 2): sets object unpickable (transparent to clicks).
doc_obj_or_list: object or list of objects to alter (App)
actual_pick_style: optional parameter, specifying the actual pick style:
0 = regular, 1 = bounding box, 2 (default) = unpickable.
Implementation detail: uses SoPickStyle node. If viewprovider already has a node
of this type as direct child, one is used. Otherwise, new one is created and
inserted as the very first node, and remains there even after restore()/deleting
tempovis.
References Mod.Show.mTempoVis.TempoVis.modify(), and Mod.Show.mTempoVis.TempoVis.restore().
def Mod.Show.mTempoVis.TempoVis.show |
( |
|
self, |
|
|
|
doc_obj_or_list, |
|
|
|
links_too = True , |
|
|
|
mild_restore = None |
|
) |
| |
def Mod.Show.mTempoVis.TempoVis.stored_val |
( |
|
self, |
|
|
|
detail |
|
) |
| |
stored_val(self, detail): returns value of detail remembered by this TV. If not, raises KeyError.
References App::Enumeration::Object.data(), Gui::Dialog::ButtonModel.data(), Gui::Dialog::CommandModel.data(), Gui::Dialog::PrintModel.data(), Gui::DocumentModel.data(), Gui::Dialog::DownloadModel.data(), ExpressionCompleterModel.data(), Gui::PropertyEditor::PropertyModel.data(), Gui::Dialog::ParameterGroupItem.data(), Gui::PropertyEditor::PropertyItem.data(), Gui::PropertyEditor::PropertyLinkItem.data(), Gui::DocumentModelIndex.data(), Gui::ApplicationIndex.data(), Gui::DocumentIndex.data(), Gui::ViewProviderIndex.data(), SelectionParser::StringFactory.data, SoVectorizeImage::Image.data, Gui::VectorTableModel.data(), Gui::VectorListEditor.data, package_list.PackageListItemModel.data(), change_branch.ChangeBranchDialogModel.data(), ArchSchedule._ArchSchedule.data, Dice3DS.dom3ds.UndefinedChunk.data, importIFClegacy.IfcSchema.data, importIFClegacy.IfcEntity.data, importIFClegacy.IfcDocument.data, PartGui::FilletRadiusModel.data(), PartGui::ResultModel.data(), DrawingGui::TaskOrthoViews.data, PathScripts.PathUtils.depth_params.data, Array2D< char >.data, Array2D< float >.data, Array2D< T >.data, KDL::Vector2.data, KDL::Vector.data, KDL::Stiffness.data, KDL::Rotation.data, KDL::Jacobian.data, KDL::JntArray.data, KDL::JntSpaceInertiaMatrix.data, KDL::RotationalInertia.data, Mod.Show.mTempoVis.TempoVis.data, Mod.Show.SceneDetail.SceneDetail.data, Mod.Show.SceneDetails.ClipPlane.ClipPlane.data, Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.data, Mod.Show.SceneDetails.Pickability.Pickability.data, Mod.Show.SceneDetails.VProperty.VProperty.data, Mod.Show.SceneDetails.Workbench.Workbench.data, ConstraintItem.data(), Spreadsheet::PropertySheet.data, SpreadsheetGui::SheetModel.data(), and FeaturePython.ViewProviderOctahedron.data.