=============================== Construction (hwx.inspire.core) =============================== Sequence of construction history steps. When you create, modify, move, or delete geometry in your model, or group parts together, Inspire records the action in your model's construction history. ---------- Properties ---------- +--------------+ | currentStep_ | +--------------+ -------------- Public Methods -------------- +---------------------------+ | delete_ (self, index) | +---------------------------+ | roll_ (self, steps) | +---------------------------+ | rollTo_ (self, step) | +---------------------------+ | suppress_ (self, index) | +---------------------------+ | unsuppress_ (self, index) | +---------------------------+ ---------------- Property Details ---------------- .. _currentStep: .. method:: currentStep Returns the current feature in construction history. -------------- Method Details -------------- .. _delete: .. method:: delete(self, index) Delete removes the construction feature from the model, but records the deletion in the construction history. :param index: Index of the deleted construction history feature. :type index: int .. _roll: .. method:: roll(self, steps) Move forward or backward through construction history. :param steps: Number of steps to move forward or backward from the current step. :type steps: int .. _rollTo: .. method:: rollTo(self, step) Move to specified feature in construction history. :param step: Step number to roll to. 0 -> Before first step. 1 -> After last step. :type step: int .. _suppress: .. method:: suppress(self, index) Suppress allows you to see your model as if the construction feature had not been created. Suppressed features do not participate in computations and do not appear in the modeling area. The History Browser shows suppressed construction features in italics. :param index: Index of the construction history feature to suppress. :type index: int .. _unsuppress: .. method:: unsuppress(self, index) Unsuppresses the suppressed construction history feature at the specified index. :param index: Index of the suppressed construction history feature. :type index: int