Hello
Thanks again for your help
If I understand correctly for the first point, it works for me ?
>>> ECParams = RobotOM.RobotSeismicAnalysis_EC8_General_Params
- EcParams not defined as IRobotSeismicAnalysis_EC_8_General_Params type, it seems to be right ?
>>> dir(ECParams)
['Ag', 'B', 'BehaviorFactor', 'Direction', 'DirectionType', 'ExcitationDir', 'Filter', 'ResidualMode', 'S', 'Spectrum', 'Tb', 'Tc', 'Td', '__doc__', '__repr__']
- EqLoad not defined as a RobotSimpleCase type, same conclusion ?
>>> EQLoad = RobotOM.RobotSimpleCase
>>> dir(EQLoad)
['AnalizeType', 'CreateObjRef', 'Equals', 'GetAnalysisParams', 'GetHashCode', 'GetLifetimeService', 'GetSeismicCode', 'GetType', 'InitializeLifetimeService', 'IsAuxiliary', 'MainMode', 'MemberwiseClone', 'ModesCount', 'Name', 'Nature', 'NatureName', 'Number', 'Records', 'ReferenceEquals', 'SetAnalysisParams', 'SetNatureExt', 'TimeStepCount', 'ToString', 'Type', 'UniqueId', 'UserId', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'label']
>>> EQLoad = structure.Cases.CreateSimple(inumC, "Ed+X",
... RobotOM.IRobotCaseNature.I_CN_SEISMIC ,
... RobotOM.IRobotCaseAnalizeType.I_CAT_DYNAMIC_SEISMIC)
>>> dir(EQLoad)
['AnalizeType', 'CreateObjRef', 'Equals', 'GetAnalysisParams', 'GetHashCode', 'GetLifetimeService', 'GetSeismicCode', 'GetType', 'InitializeLifetimeService', 'IsAuxiliary', 'MainMode', 'MemberwiseClone', 'ModesCount', 'Name', 'Nature', 'NatureName', 'Number', 'Records', 'ReferenceEquals', 'SetAnalysisParams', 'SetNatureExt', 'TimeStepCount', 'ToString', 'Type', 'UniqueId', 'UserId', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'label']
-Try Also
Attempt 1 :the structure of ECParams has been deleted
>>> ECParams = EQLoad.GetAnalysisParams
>>> dir(ECParams)
['Equals', 'GetHashCode', 'GetType', 'MemberwiseClone', 'ReferenceEquals', 'ToString', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
Attempt 2 :the structure of ECParams has also been deleted
>>> ECParams = RobotOM.RobotSeismicAnalysis_EC8_General_Params
>>> ECParams = EQLoad.GetAnalysisParams()
>>> dir(ECParams)
['Equals', 'GetHashCode', 'GetType', 'MemberwiseClone', 'ReferenceEquals', 'ToString', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
Attempt 3 : the structure of ECParams has also been deleted
>>> ECParams = RobotOM.RobotSeismicAnalysis_EC8_General_Params
>>> aaa = EQLoad.GetSeismicCode
>>> ECParams = EQLoad.GetAnalysisParams()
>>> dir(ECParams)
['Equals', 'GetHashCode', 'GetType', 'MemberwiseClone', 'ReferenceEquals', 'ToString', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
Thanks for all
Xavier