Generic view provider for path objects.
Deducts the icon name from operation name, brings up the TaskPanel
with pages corresponding to the operation's opFeatures() and forwards
property change notifications to the page controllers.
def PathScripts.PathOpGui.ViewProvider.attach |
( |
|
self, |
|
|
|
vobj |
|
) |
| |
References Mod.PartDesign.FeatureHole.ViewProviderHole.ViewProviderHole.Object, draftviewproviders.view_draftlink.ViewProviderDraftLink.Object, OpenSCADFeatures.ViewProviderTree.Object, femviewprovider.view_base_femconstraint.VPBaseFemConstraint.Object, draftviewproviders.view_text.ViewProviderText.Object, draftviewproviders.view_label.ViewProviderLabel.Object, femviewprovider.view_mesh_gmsh.VPMeshGmsh.Object, PathScripts.PathCollision._ViewProviderCollisionSim.Object, PathScripts.PathCopy.ViewProviderPathCopy.Object, draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.Object, femviewprovider.view_base_femobject.VPBaseFemObject.Object, PathScripts.PathHop.ViewProviderPathHop.Object, PathScripts.PathOpGui.ViewProvider.Object, draftviewproviders.view_wire.ViewProviderWire.Object, draftviewproviders.view_base.ViewProviderDraft.Object, BOPTools.SplitFeatures.ViewProviderBooleanFragments.Object, DraftLayer.Layer.Object, Mod.PartDesign.InvoluteGearFeature._ViewProviderInvoluteGear.Object, Mod.PartDesign.SprocketFeature.ViewProviderSprocket.Object, JoinFeatures._ViewProviderPartJoinFeature.Object, Base::Writer::FileEntry.Object, BOPTools.JoinFeatures.ViewProviderConnect.Object, draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.Object, Gui::SelectionChanges.Object, CompoundTools.CompoundFilter._ViewProviderCompoundFilter.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, PathScripts.PathArray.ViewProviderArray.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, BOPTools.SplitFeatures.ViewProviderSlice.Object, BOPTools.JoinFeatures.ViewProviderEmbed.Object, BOPTools.JoinFeatures.ViewProviderCutout.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, BOPTools.SplitFeatures.ViewProviderXOR.Object, DraftLayer.ViewProviderLayerContainer.Object, PathScripts.PathDressupDragknife.ViewProviderDressup.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, ArchWall._ViewProviderWall.Object, PathScripts.PathOpGui.ViewProvider.panel, PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.panel, PathScripts.PathDressupTagGui.PathDressupTagViewProvider.panel, DraftGui.DraftToolBar.panel, PathScripts.PathIconViewProvider.ViewProvider.vobj, PathScripts.PathOpGui.ViewProvider.vobj, PathScripts.PathJobGui.ViewProvider.vobj, PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.vobj, PathScripts.PathDressupTagGui.PathDressupTagViewProvider.vobj, PathScripts.PathJobGui.TaskPanel.vobj, and PathScripts.PathDressupDogbone.ViewProviderDressup.vobj.
def PathScripts.PathOpGui.ViewProvider.clearTaskPanel |
( |
|
self | ) |
|
clearTaskPanel() ... internal callback function when editing has finished.
References Mod.PartDesign.FeatureHole.ViewProviderHole.ViewProviderHole.Object, draftviewproviders.view_draftlink.ViewProviderDraftLink.Object, OpenSCADFeatures.ViewProviderTree.Object, femviewprovider.view_base_femconstraint.VPBaseFemConstraint.Object, draftviewproviders.view_text.ViewProviderText.Object, draftviewproviders.view_label.ViewProviderLabel.Object, femviewprovider.view_mesh_gmsh.VPMeshGmsh.Object, PathScripts.PathCollision._ViewProviderCollisionSim.Object, PathScripts.PathCopy.ViewProviderPathCopy.Object, draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.Object, femviewprovider.view_base_femobject.VPBaseFemObject.Object, PathScripts.PathOpGui.ViewProvider.Object, PathScripts.PathHop.ViewProviderPathHop.Object, draftviewproviders.view_wire.ViewProviderWire.Object, draftviewproviders.view_base.ViewProviderDraft.Object, BOPTools.SplitFeatures.ViewProviderBooleanFragments.Object, DraftLayer.Layer.Object, Mod.PartDesign.InvoluteGearFeature._ViewProviderInvoluteGear.Object, Mod.PartDesign.SprocketFeature.ViewProviderSprocket.Object, JoinFeatures._ViewProviderPartJoinFeature.Object, Base::Writer::FileEntry.Object, BOPTools.JoinFeatures.ViewProviderConnect.Object, draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, CompoundTools.CompoundFilter._ViewProviderCompoundFilter.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, PathScripts.PathArray.ViewProviderArray.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, BOPTools.SplitFeatures.ViewProviderSlice.Object, BOPTools.JoinFeatures.ViewProviderEmbed.Object, BOPTools.JoinFeatures.ViewProviderCutout.Object, ArchEquipment._ViewProviderEquipment.Object, ArchReference.ViewProviderArchReference.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, BOPTools.SplitFeatures.ViewProviderXOR.Object, ArchMaterial._ViewProviderArchMaterial.Object, DraftLayer.ViewProviderLayerContainer.Object, PathScripts.PathDressupDragknife.ViewProviderDressup.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, ArchWall._ViewProviderWall.Object, PathScripts.PathOpGui.ViewProvider.panel, PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.panel, PathScripts.PathDressupTagGui.PathDressupTagViewProvider.panel, and DraftGui.DraftToolBar.panel.
def PathScripts.PathOpGui.ViewProvider.getIcon |
( |
|
self | ) |
|
getIcon() ... the icon used in the object tree
References Mod.PartDesign.FeatureHole.ViewProviderHole.ViewProviderHole.Object, draftviewproviders.view_draftlink.ViewProviderDraftLink.Object, OpenSCADFeatures.ViewProviderTree.Object, femviewprovider.view_base_femconstraint.VPBaseFemConstraint.Object, draftviewproviders.view_text.ViewProviderText.Object, draftviewproviders.view_label.ViewProviderLabel.Object, femviewprovider.view_mesh_gmsh.VPMeshGmsh.Object, PathScripts.PathCollision._ViewProviderCollisionSim.Object, PathScripts.PathCopy.ViewProviderPathCopy.Object, draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.Object, PathScripts.PathOpGui.ViewProvider.Object, femviewprovider.view_base_femobject.VPBaseFemObject.Object, PathScripts.PathHop.ViewProviderPathHop.Object, draftviewproviders.view_wire.ViewProviderWire.Object, draftviewproviders.view_base.ViewProviderDraft.Object, BOPTools.SplitFeatures.ViewProviderBooleanFragments.Object, DraftLayer.Layer.Object, Mod.PartDesign.InvoluteGearFeature._ViewProviderInvoluteGear.Object, Mod.PartDesign.SprocketFeature.ViewProviderSprocket.Object, JoinFeatures._ViewProviderPartJoinFeature.Object, Base::Writer::FileEntry.Object, BOPTools.JoinFeatures.ViewProviderConnect.Object, draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.Object, Gui::SelectionChanges.Object, CompoundTools.CompoundFilter._ViewProviderCompoundFilter.Object, ArchFloor._Floor.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, PathScripts.PathArray.ViewProviderArray.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, BOPTools.SplitFeatures.ViewProviderSlice.Object, BOPTools.JoinFeatures.ViewProviderEmbed.Object, BOPTools.JoinFeatures.ViewProviderCutout.Object, ArchReference.ViewProviderArchReference.Object, ArchEquipment._ViewProviderEquipment.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, ArchMaterial._ViewProviderArchMaterial.Object, BOPTools.SplitFeatures.ViewProviderXOR.Object, DraftLayer.ViewProviderLayerContainer.Object, PathScripts.PathDressupDragknife.ViewProviderDressup.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, ArchWall._ViewProviderWall.Object, and PathScripts.PathOpGui.ViewProvider.OpIcon.
def PathScripts.PathOpGui.ViewProvider.setupContextMenu |
( |
|
self, |
|
|
|
vobj, |
|
|
|
menu |
|
) |
| |
References ArchIFCView.IfcContextView.setEdit(), femviewprovider.view_constraint_electrostaticpotential.VPConstraintElectroStaticPotential.setEdit(), femviewprovider.view_constraint_flowvelocity.VPConstraintFlowVelocity.setEdit(), femviewprovider.view_constraint_initialflowvelocity.VPConstraintInitialFlowVelocity.setEdit(), femviewprovider.view_constraint_tie.VPConstraintTie.setEdit(), femviewprovider.view_element_geometry1D.VPElementGeometry1D.setEdit(), femviewprovider.view_element_geometry2D.VPElementGeometry2D.setEdit(), femviewprovider.view_material_reinforced.VPMaterialReinforced.setEdit(), femviewprovider.view_mesh_boundarylayer.VPMeshBoundaryLayer.setEdit(), femviewprovider.view_mesh_group.VPMeshGroup.setEdit(), femviewprovider.view_mesh_region.VPMeshRegion.setEdit(), femviewprovider.view_element_fluid1D.VPElementFluid1D.setEdit(), draftviewproviders.view_facebinder.ViewProviderFacebinder.setEdit(), femviewprovider.view_solver_ccxtools.VPSolverCcxTools.setEdit(), femviewprovider.view_result_mechanical.VPResultMechanical.setEdit(), PartGui::ViewProviderImport.setEdit(), femsolver.elmer.equations.equation.ViewProxy.setEdit(), femviewprovider.view_material_common.VPMaterialCommon.setEdit(), Gui::DocumentPy.setEdit(), Gui::ViewProviderOriginFeature.setEdit(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.setEdit(), Gui::ViewProviderPythonFeatureImp.setEdit(), PartGui::ViewProviderCurveNet.setEdit(), PathScripts.PathCollision._ViewProviderCollisionSim.setEdit(), Mod.PartDesign.FeatureHole.ViewProviderHole.ViewProviderHole.setEdit(), Gui::ViewProviderDragger.setEdit(), PartGui::ViewProvider2DObject.setEdit(), MeshGui::ViewProviderMeshNode.setEdit(), DrawingGui::ViewProviderDrawingPage.setEdit(), FemGui::ViewProviderFemConstraint.setEdit(), PartDesignGui::ViewProviderTransformed.setEdit(), femviewprovider.view_base_femobject.VPBaseFemObject.setEdit(), PathScripts.PathIconViewProvider.ViewProvider.setEdit(), FemGui::ViewProviderSetElements.setEdit(), FemGui::ViewProviderSetFaces.setEdit(), FemGui::ViewProviderSetGeometry.setEdit(), FemGui::ViewProviderSetNodes.setEdit(), PartDesignGui::ViewProviderDressUp.setEdit(), femsolver.solverbase.ViewProxy.setEdit(), FemGui::ViewProviderFemConstraintPressure.setEdit(), PartDesignGui::ViewProviderBase.setEdit(), PartDesignGui::ViewProviderShapeBinder.setEdit(), PartGui::ViewProviderMirror.setEdit(), PathGui::ViewProviderPathCompound.setEdit(), FemGui::ViewProviderFemConstraintPulley.setEdit(), PartDesignGui::ViewProviderHole.setEdit(), FemGui::ViewProviderFemConstraintBearing.setEdit(), FemGui::ViewProviderFemConstraintFixed.setEdit(), FemGui::ViewProviderFemConstraintFluidBoundary.setEdit(), FemGui::ViewProviderFemConstraintForce.setEdit(), FemGui::ViewProviderFemConstraintGear.setEdit(), FemGui::ViewProviderFemMeshShapeNetgen.setEdit(), FemGui::ViewProviderFemConstraintTemperature.setEdit(), PartDesignGui::ViewProviderPrimitive.setEdit(), FemGui::ViewProviderFemConstraintContact.setEdit(), FemGui::ViewProviderFemConstraintDisplacement.setEdit(), FemGui::ViewProviderFemConstraintHeatflux.setEdit(), FemGui::ViewProviderFemConstraintInitialTemperature.setEdit(), FemGui::ViewProviderFemConstraintPlaneRotation.setEdit(), PartDesignGui::ViewProviderLoft.setEdit(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.setEdit(), PartDesignGui::ViewProviderPipe.setEdit(), FemGui::ViewProviderFemConstraintTransform.setEdit(), FemGui::ViewProviderFemPostObject.setEdit(), PartDesignGui::ViewProviderSubShapeBinder.setEdit(), PathScripts.PathOpGui.ViewProvider.setEdit(), PartGui::ViewProviderFillet.setEdit(), PartDesignGui::ViewProvider.setEdit(), PartDesignGui::ViewProviderBoolean.setEdit(), PathScripts.PathFixture._ViewProviderFixture.setEdit(), PartDesignGui::ViewProviderDatum.setEdit(), Gui::ViewProviderAnnotationLabel.setEdit(), PartGui::ViewProviderChamfer.setEdit(), FemGui::ViewProviderFemPostFunction.setEdit(), Mod.PartDesign.InvoluteGearFeature._ViewProviderInvoluteGear.setEdit(), FemGui::ViewProviderFemAnalysis.setEdit(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), JoinFeatures._ViewProviderPartJoinFeature.setEdit(), PartGui::ViewProviderPartExt.setEdit(), PathScripts.PathJobGui.ViewProvider.setEdit(), MeshGui::ViewProviderMesh.setEdit(), PartGui::ViewProviderOffset.setEdit(), PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.setEdit(), PartGui::ViewProviderThickness.setEdit(), Gui::Document.setEdit(), Gui::ViewProviderLink.setEdit(), PathScripts.PathDressupZCorrect.ViewProviderDressup.setEdit(), ArchReference.ViewProviderArchReference.setEdit(), draftviewproviders.view_base.ViewProviderDraft.setEdit(), ArchSchedule._ViewProviderArchSchedule.setEdit(), ArchProfile.ViewProviderProfile.setEdit(), Gui::ViewProvider.setEdit(), ArchMaterial._ViewProviderArchMaterial.setEdit(), PathScripts.PathDressupDragknife.ViewProviderDressup.setEdit(), PathScripts.PathDressupTagGui.PathDressupTagViewProvider.setEdit(), ArchRebar._ViewProviderRebar.setEdit(), Gui::ViewProviderPythonFeatureT< ViewProviderT >.setEdit(), ArchAxis._ViewProviderAxis.setEdit(), ArchMaterial._ViewProviderArchMultiMaterial.setEdit(), ArchSpace._ViewProviderSpace.setEdit(), ArchPrecast._ViewProviderPrecast.setEdit(), ArchRoof._ViewProviderRoof.setEdit(), ArchSite._ViewProviderSite.setEdit(), ArchAxis._ViewProviderAxisSystem.setEdit(), ArchWindow._ViewProviderWindow.setEdit(), ArchStructure._ViewProviderStructure.setEdit(), PathScripts.PathDressupDogbone.ViewProviderDressup.setEdit(), ArchSectionPlane._ViewProviderSectionPlane.setEdit(), ArchAxis.ViewProviderArchGrid.setEdit(), ArchPanel.ViewProviderPanelSheet.setEdit(), and ArchComponent.ViewProviderComponent.setEdit().
def PathScripts.PathOpGui.ViewProvider.setupTaskPanel |
( |
|
self, |
|
|
|
panel |
|
) |
| |
setupTaskPanel(panel) ... internal function to start the editor.
References Mod.PartDesign.FeatureHole.ViewProviderHole.ViewProviderHole.Object, draftviewproviders.view_draftlink.ViewProviderDraftLink.Object, OpenSCADFeatures.ViewProviderTree.Object, femviewprovider.view_base_femconstraint.VPBaseFemConstraint.Object, draftviewproviders.view_text.ViewProviderText.Object, draftviewproviders.view_label.ViewProviderLabel.Object, femviewprovider.view_mesh_gmsh.VPMeshGmsh.Object, PathScripts.PathCollision._ViewProviderCollisionSim.Object, PathScripts.PathCopy.ViewProviderPathCopy.Object, draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.Object, femviewprovider.view_base_femobject.VPBaseFemObject.Object, PathScripts.PathOpGui.ViewProvider.Object, PathScripts.PathHop.ViewProviderPathHop.Object, draftviewproviders.view_wire.ViewProviderWire.Object, draftviewproviders.view_base.ViewProviderDraft.Object, BOPTools.SplitFeatures.ViewProviderBooleanFragments.Object, DraftLayer.Layer.Object, Mod.PartDesign.InvoluteGearFeature._ViewProviderInvoluteGear.Object, Mod.PartDesign.SprocketFeature.ViewProviderSprocket.Object, JoinFeatures._ViewProviderPartJoinFeature.Object, Base::Writer::FileEntry.Object, BOPTools.JoinFeatures.ViewProviderConnect.Object, draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.Object, Gui::SelectionChanges.Object, ArchFloor._Floor.Object, CompoundTools.CompoundFilter._ViewProviderCompoundFilter.Object, ArchMaterial._ViewProviderArchMaterialContainer.Object, DraftLayer.ViewProviderLayer.Object, Base::XMLReader::FileEntry.Object, PathScripts.PathArray.ViewProviderArray.Object, draftviewproviders.view_dimension.ViewProviderLinearDimension.Object, BOPTools.SplitFeatures.ViewProviderSlice.Object, BOPTools.JoinFeatures.ViewProviderEmbed.Object, BOPTools.JoinFeatures.ViewProviderCutout.Object, ArchEquipment._ViewProviderEquipment.Object, ArchReference.ViewProviderArchReference.Object, ArchFloor._ViewProviderFloor.Object, ArchSchedule._ViewProviderArchSchedule.Object, BOPTools.SplitFeatures.ViewProviderXOR.Object, ArchMaterial._ViewProviderArchMaterial.Object, DraftLayer.ViewProviderLayerContainer.Object, PathScripts.PathDressupDragknife.ViewProviderDressup.Object, ArchSpace._ViewProviderSpace.Object, ArchBuildingPart.ViewProviderBuildingPart.Object, draftviewproviders.view_dimension.ViewProviderAngularDimension.Object, ArchRoof._ViewProviderRoof.Object, ArchSite._ViewProviderSite.Object, ArchSectionPlane._ViewProviderSectionPlane.Object, ArchStructure.StructureTaskPanel.Object, ArchComponent.ViewProviderComponent.Object, ArchWall._ViewProviderWall.Object, PathScripts.PathOpGui.ViewProvider.panel, PathScripts.PathDressupPathBoundaryGui.DressupPathBoundaryViewProvider.panel, PathScripts.PathDressupTagGui.PathDressupTagViewProvider.panel, and DraftGui.DraftToolBar.panel.
Referenced by PathScripts.PathOpGui.ViewProvider.setEdit().