mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Debug
This commit is contained in:
parent
da7d0ab212
commit
1724cd310e
@ -290,6 +290,16 @@ void SMESH_NoteBook::ReplaceVariables()
|
|||||||
aCmd->SetArg(1,aStates->GetCurrectState().at(1));
|
aCmd->SetArg(1,aStates->GetCurrectState().at(1));
|
||||||
//aStates->IncrementState();
|
//aStates->IncrementState();
|
||||||
}
|
}
|
||||||
|
if(aMethod == "SetStartLength" &&
|
||||||
|
aStates->GetCurrectState().size() >= 2) {
|
||||||
|
if(!aStates->GetCurrectState().at(0).IsEmpty() )
|
||||||
|
aCmd->SetArg(1,aStates->GetCurrectState().at(0));
|
||||||
|
}
|
||||||
|
if(aMethod == "SetEndLength" &&
|
||||||
|
aStates->GetCurrectState().size() >= 2) {
|
||||||
|
if(!aStates->GetCurrectState().at(1).IsEmpty() )
|
||||||
|
aCmd->SetArg(1,aStates->GetCurrectState().at(1));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Case for Deflection1D hypothesis
|
//Case for Deflection1D hypothesis
|
||||||
|
@ -5221,6 +5221,20 @@ class Arithmetic1D(StdMeshers._objref_StdMeshers_Arithmetic1D):
|
|||||||
geompyDC.SetParameters(self, parameters)
|
geompyDC.SetParameters(self, parameters)
|
||||||
StdMeshers._objref_StdMeshers_Arithmetic1D.SetLength(self,length,isStart)
|
StdMeshers._objref_StdMeshers_Arithmetic1D.SetLength(self,length,isStart)
|
||||||
|
|
||||||
|
## Set Start Length parameter value
|
||||||
|
# @param length numerical value or name of variable from notebook
|
||||||
|
def SetStartLength(self, length):
|
||||||
|
length,parameters = ParseParameters(StdMeshers._objref_StdMeshers_Arithmetic1D.GetParameters(self),2,1,length)
|
||||||
|
geompyDC.SetParameters(self, parameters)
|
||||||
|
StdMeshers._objref_StdMeshers_Arithmetic1D.SetStartLength(self,length)
|
||||||
|
|
||||||
|
## Set End Length parameter value
|
||||||
|
# @param length numerical value or name of variable from notebook
|
||||||
|
def SetEndLength(self, length):
|
||||||
|
length,parameters = ParseParameters(StdMeshers._objref_StdMeshers_Arithmetic1D.GetParameters(self),2,2,length)
|
||||||
|
geompyDC.SetParameters(self, parameters)
|
||||||
|
StdMeshers._objref_StdMeshers_Arithmetic1D.SetEndLength(self,length)
|
||||||
|
|
||||||
#Registering the new proxy for Arithmetic1D
|
#Registering the new proxy for Arithmetic1D
|
||||||
omniORB.registerObjref(StdMeshers._objref_StdMeshers_Arithmetic1D._NP_RepositoryId, Arithmetic1D)
|
omniORB.registerObjref(StdMeshers._objref_StdMeshers_Arithmetic1D._NP_RepositoryId, Arithmetic1D)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user