Forum

Início Fóruns Temas ou Discussões Panel – Robot Python API Resposta a: Panel – Robot Python API

louispips50
Convidado
Número de artigos: 1796

Thanks a lot for your help. It works !

I would like talk about other subject. On my panel I have a to add several node forces (for example 4)

I did like following example :

case_number = cases.FreeNumber
dl= cases.CreateSimple(case_number, “n1”, IRobotCaseNature.I_CN_EXPLOATATION, IRobotCaseAnalizeType.I_CAT_STATIC_LINEAR)
dl_record = dl.Records.Create(IRobotLoadRecordType.I_LRT_NODE_FORCE)
dl_record = IRobotLoadRecord(dl_record)
dl_record.Objects.AddOne(node1) # select nodes
dl_record.SetValue(IRobotNodeForceRecordValues.I_NFRV_FZ,XXX)
dl_record.SetValue(IRobotNodeForceRecordValues.I_NFRV_FX,XXX)

The only solution I find is to do that for each nodes (ie x4) and combine in a “load combinaison” after

Do you have any ideas to be more efficient about that ?

Thank you in advance,
Louis