Public Member Functions | |
def | evaluate (self, key) |
def | execute (self, obj) |
def | getCells (self, index) |
def | getControlledCells (self, obj) |
def | getControllingCells (self, obj) |
def | getFunction (self, key) |
def | getSize (self) |
def | isFunction (self, key) |
def | isKey (self, value) |
def | isNumeric (self, key) |
def | recompute (self, obj) |
def | splitKey (self, key) |
Public Attributes | |
cols | |
Object | |
rows | |
Type | |
An object representing a spreadsheet. Can be used as a FreeCAD object or as a standalone python object. Cells of the spreadsheet can be got/set as arguments, as: myspreadsheet = Spreadsheet() myspreadsheet.a1 = 54 print(myspreadsheet.a1) myspreadsheet.a2 = "My text" myspreadsheet.b1 = "=a1*3" print(myspreadsheet.b1) The cell names are case-insensitive (a1 = A1)
def Spreadsheet_legacy.Spreadsheet.evaluate | ( | self, | |
key | |||
) |
References Spreadsheet_legacy.Spreadsheet._cells, MeshGui::SoFCMaterialEngine.evaluate(), PartGui::ArcEngine.evaluate(), App::FunctionExpression.evaluate(), Spreadsheet_legacy.Spreadsheet.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.StressFunction.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.TranslationFunction.evaluate(), Spreadsheet_legacy.Spreadsheet.isFunction(), importXLSX.FormulaTranslator.isKey(), Spreadsheet_legacy.Spreadsheet.isKey(), Py::Object.isNumeric(), Py::seqref< T >.isNumeric(), Py::mapref< T >.isNumeric(), and Spreadsheet_legacy.Spreadsheet.isNumeric().
Referenced by Spreadsheet_legacy.Spreadsheet.evaluate(), and Spreadsheet_legacy.Spreadsheet.isNumeric().
def Spreadsheet_legacy.Spreadsheet.execute | ( | self, | |
obj | |||
) |
Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().
def Spreadsheet_legacy.Spreadsheet.getCells | ( | self, | |
index | |||
) |
References Spreadsheet_legacy.Spreadsheet._cells, and Spreadsheet_legacy.Spreadsheet.splitKey().
def Spreadsheet_legacy.Spreadsheet.getControlledCells | ( | self, | |
obj | |||
) |
def Spreadsheet_legacy.Spreadsheet.getControllingCells | ( | self, | |
obj | |||
) |
def Spreadsheet_legacy.Spreadsheet.getFunction | ( | self, | |
key | |||
) |
References Spreadsheet_legacy.Spreadsheet._cells.
def Spreadsheet_legacy.Spreadsheet.getSize | ( | self | ) |
References ifc4.ifctable.columns, KDL::Jacobian.columns(), KDL::JntArray.columns(), KDL::JntSpaceInertiaMatrix.columns(), ifc2x3.ifctable.rows, ifc4.ifctable.rows, KDL::Jacobian.rows(), KDL::JntArray.rows(), KDL::JntSpaceInertiaMatrix.rows(), and Spreadsheet_legacy.Spreadsheet.rows.
def Spreadsheet_legacy.Spreadsheet.isFunction | ( | self, | |
key | |||
) |
Referenced by Spreadsheet_legacy.Spreadsheet.evaluate(), and Spreadsheet_legacy.Spreadsheet.isNumeric().
def Spreadsheet_legacy.Spreadsheet.isKey | ( | self, | |
value | |||
) |
Referenced by Spreadsheet_legacy.Spreadsheet.evaluate(), and importXLSX.FormulaTranslator.getNextToken().
def Spreadsheet_legacy.Spreadsheet.isNumeric | ( | self, | |
key | |||
) |
References Spreadsheet_legacy.Spreadsheet._cells, MeshGui::SoFCMaterialEngine.evaluate(), PartGui::ArcEngine.evaluate(), App::FunctionExpression.evaluate(), Spreadsheet_legacy.Spreadsheet.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.StressFunction.evaluate(), Mod.PartDesign.WizardShaft.SegmentFunction.TranslationFunction.evaluate(), and Spreadsheet_legacy.Spreadsheet.isFunction().
Referenced by Spreadsheet_legacy.Spreadsheet.evaluate().
def Spreadsheet_legacy.Spreadsheet.recompute | ( | self, | |
obj | |||
) |
def Spreadsheet_legacy.Spreadsheet.splitKey | ( | self, | |
key | |||
) |
Referenced by Spreadsheet_legacy.Spreadsheet.getCells().
Spreadsheet_legacy.Spreadsheet.cols |
Spreadsheet_legacy.Spreadsheet.Object |
Referenced by draftviewproviders.view_layer.ViewProviderLayer.activate(), ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), OpenSCADFeatures.ViewProviderTree.attach(), ArchComponent.ViewProviderComponent.attach(), draftviewproviders.view_base.ViewProviderDraft.attach(), draftviewproviders.view_dimension.ViewProviderLinearDimension.attach(), draftviewproviders.view_dimension.ViewProviderAngularDimension.attach(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.attach(), draftviewproviders.view_layer.ViewProviderLayer.attach(), draftviewproviders.view_layer.ViewProviderLayerContainer.attach(), PathScripts.PathArray.ViewProviderArray.attach(), PathScripts.PathCopy.ViewProviderPathCopy.attach(), PathScripts.PathDressupDragknife.ViewProviderDressup.attach(), PathScripts.PathHop.ViewProviderPathHop.attach(), PathScripts.PathOpGui.ViewProvider.attach(), ArchSite.Compass.buildCoordinates(), ArchReference.ViewProviderArchReference.checkChanges(), ArchComponent.ViewProviderComponent.claimChildren(), draftviewproviders.view_base.ViewProviderDraft.claimChildren(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.claimChildren(), draftviewproviders.view_draftlink.ViewProviderDraftLink.claimChildren(), draftviewproviders.view_layer.ViewProviderLayer.claimChildren(), draftviewproviders.view_wire.ViewProviderWire.claimChildren(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.claimChildren(), femviewprovider.view_result_mechanical.VPResultMechanical.claimChildren(), OpenSCADFeatures.ViewProviderTree.claimChildren(), BOPTools.JoinFeatures.ViewProviderConnect.claimChildren(), BOPTools.JoinFeatures.ViewProviderEmbed.claimChildren(), BOPTools.JoinFeatures.ViewProviderCutout.claimChildren(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.claimChildren(), BOPTools.SplitFeatures.ViewProviderSlice.claimChildren(), BOPTools.SplitFeatures.ViewProviderXOR.claimChildren(), PathScripts.PathArray.ViewProviderArray.claimChildren(), PathScripts.PathDressupDragknife.ViewProviderDressup.claimChildren(), Spreadsheet_legacy.ViewProviderSpreadsheet.claimChildren(), PathScripts.PathOpGui.ViewProvider.clearTaskPanel(), ArchBuildingPart.ViewProviderBuildingPart.cloneUp(), ArchStructure.StructureTaskPanel.connectNodes(), ArchBuildingPart.ViewProviderBuildingPart.createGroup(), draftviewproviders.view_text.ViewProviderText.createObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.doubleClicked(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dragObject(), BOPTools.JoinFeatures.ViewProviderConnect.dragObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dragObject(), BOPTools.SplitFeatures.ViewProviderXOR.dragObject(), femviewprovider.view_mesh_gmsh.VPMeshGmsh.dropObject(), BOPTools.JoinFeatures.ViewProviderConnect.dropObject(), BOPTools.SplitFeatures.ViewProviderBooleanFragments.dropObject(), BOPTools.SplitFeatures.ViewProviderXOR.dropObject(), ArchStructure.StructureTaskPanel.extendNodes(), draftviewproviders.view_wire.ViewProviderWire.flatten(), Mod.Show.Containers.Container.getCSChildren(), Mod.Show.Containers.Container.getDynamicChildren(), ArchBuildingPart.ViewProviderBuildingPart.getIcon(), ArchComponent.ViewProviderComponent.getIcon(), draftviewproviders.view_array.ViewProviderDraftArray.getIcon(), draftviewproviders.view_base.ViewProviderDraft.getIcon(), draftviewproviders.view_dimension.ViewProviderDimensionBase.getIcon(), draftviewproviders.view_draftlink.ViewProviderDraftLink.getIcon(), femviewprovider.view_base_femobject.VPBaseFemObject.getIcon(), femviewprovider.view_material_common.VPMaterialCommon.getIcon(), OpenSCADFeatures.ViewProviderTree.getIcon(), PathScripts.PathOpGui.ViewProvider.getIcon(), Mod.Show.Containers.Container.getStaticChildren(), Mod.Show.Containers.Container.getVisGroupChildren(), Mod.Show.Containers.Container.hasObjectRecursive(), draftviewproviders.view_dimension.ViewProviderLinearDimension.is_linked_to_circle(), Mod.Show.Containers.Container.isACS(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.Show.Containers.Container.isAVisGroup(), Mod.Show.Containers.Container.isChildVisible(), draftviewproviders.view_layer.ViewProviderLayerContainer.merge_by_name(), draftviewproviders.view_base.ViewProviderDraft.onChanged(), BOPTools.JoinFeatures.ViewProviderEmbed.onDelete(), BOPTools.JoinFeatures.ViewProviderCutout.onDelete(), ArchReference.ViewProviderArchReference.onOpen(), ArchReference.ViewProviderArchReference.onReload(), ArchBuildingPart.ViewProviderBuildingPart.reorder(), ArchStructure.StructureTaskPanel.resetNodes(), draftviewproviders.view_layer.ViewProviderLayer.select_contents(), Mod.Show.Containers.Container.self_check(), ArchComponent.ViewProviderComponent.setDisplayMode(), ArchComponent.ViewProviderComponent.setEdit(), Mod.PartDesign.SprocketFeature.ViewProviderSprocket.setEdit(), ArchStructure.StructureTaskPanel.setSelectionFromTool(), ArchStructure.StructureTaskPanel.setToolFromSelection(), PathScripts.PathOpGui.ViewProvider.setupTaskPanel(), ArchBuildingPart.ViewProviderBuildingPart.setWorkingPlane(), femviewprovider.view_result_mechanical.VPResultMechanical.unsetEdit(), ArchBuildingPart.ViewProviderBuildingPart.writeCamera(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeCamera(), ArchBuildingPart.ViewProviderBuildingPart.writeInventor(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.writeState().
Spreadsheet_legacy.Spreadsheet.rows |
Spreadsheet_legacy.Spreadsheet.Type |
Referenced by ArchPanel.CommandPanelSheet.Activated(), ArchStructure.CommandStructuralSystem.Activated(), draftobjects.draft_annotation.DraftAnnotation.add_missing_properties_0v19(), ArchStructure.StructSelectionObserver.addSelection(), ArchSite.Compass.buildCoordinates(), ArchComponent.Component.execute(), draftobjects.layer.LayerContainer.execute(), ArchSchedule.CommandArchSchedule.IsActive(), draftobjects.layer.Layer.set_properties(), and ArchReference.ArchReference.setProperties().