[docs]classIAxisVMCalculation(AxisVMModelItems):"""Wrapper for the `IAxisVMCalculation` COM interface."""
[docs]defLinearAnalysis(self,*args,interact:bool=False,show:bool=False,autocorrect:bool=True,):""" Performs a linear analysis on the structure. Parameters ---------- *args : tuple, Optional If there is a positional argument, it is considered as a valid argument to the `LinearAnalysis` method of the `IAxisVMCalculation` interface, and all other paramaters are ignored. interact : bool, Optional. If True, the user has to interact with the program to answer questions arising during the analysis. Default is False. show : bool, Optional. Whether the calculation window should be visible or not. Default is False. autocorrect : bool, Optional. If True, AxisVM tries to correct problems automatically during the analysis. Default is True. """iflen(args)>0andisinstance(args[0],int):itype=args[0]else:importaxisvm.com.tlbasaxtlbifinteract:itype=axtlb.cuiUserInteractionelse:ifshowandautocorrect:itype=axtlb.cuiNoUserInteractionWithAutoCorrectelifnotshowandautocorrect:itype=axtlb.cuiNoUserInteractionWithoutAutoCorrectelifnotshowandautocorrect:itype=axtlb.cuiNoUserInteractionWithAutoCorrectNoShowelifnotshowandnotautocorrect:itype=axtlb.cuiNoUserInteractionWithoutAutoCorrectNoShowelse:raiseNotImplementedErrorreturnself._wrapped.LinearAnalysis(itype)