<li>Operations with \subpage blocks_operations_page "Blocks".</li>
-<li>\subpage restore_presentation_parameters_page "Restore presentation pareameters".
+<li>\subpage restore_presentation_parameters_page "Restore presentation parameters".
This cross-operation functionality allows the resulting shape to
inherit colors and subshapes from its parent shapes.</li>
</ul>
\code
import geompy
import GEOM
+import SALOMEDS
# create a box and a cylinder
box = geompy.MakeBoxDXDYDZ(200, 200, 200)
* operations, where only the first argument has to be considered.
* If theObject has only one argument shape, this flag is automatically
* considered as True, not regarding really passed value.
- * \return True in case of success, False otherwise.
+ * \return list of published sub-shapes
*/
ListOfGO RestoreSubShapesO (in SALOMEDS::Study theStudy,
in GEOM_Object theObject,
# ! documentation generation to identify certain places of this file
#
def TestAll (geompy, math):
-
+ import GEOM
+
#Create base Variables
nbtimes1 = 5 #Short
nbtimes2 = 5
if ind_e != ind:
print "Error in GetSubShape or GetSubShapeID"
+ # RestoreSubShapes
+ geompy.RestoreSubShapes(Copy)
+ geompy.RestoreSubShapes(RotatPnt, [], GEOM.FSM_Transformed)
+ geompy.RestoreSubShapes(Partition, [Box])
+ geompy.RestoreSubShapes(Partition1)
+
print "DONE"
# operations, where only the first argument has to be considered.
# If theObject has only one argument shape, this flag is automatically
# considered as True, not regarding really passed value.
- # \return True in case of success, False otherwise.
+ # \return list of published sub-shapes
#
# @ref tui_restore_prs_params "Example"
def RestoreSubShapes (self, theObject, theArgs=[],