SolidosCommit(msg) - Forces the reconstruction of devices and calculations that would only be done at the end of the command/script
Example of usage in Visual Lisp:
(setq alin (handent "45668")
profile (handent "E5A69")
network (handent "87912")
partSize (handent "F4A8B")
starting 0.0
ending 100.0
device
(SolidosCreateNode
network ;parentID
"Device" ;tipo de objeto a criar
(list "Section" partSize ;seção tipica, OBRIGATORIO senão dá erro!
"IsFromAlignProfile" "AlignProfile" ;como os pontos do dispositivo longitudinal são calculados
;os parametros abaixo devem ser informados para a opção "AlignProfile"
"FromAlign" alin
"FromProfile" profile
"FromAlignStart" starting
"FromAlignENd" ending)))
;força o rebuild da rede, para que os dispositivos preencham as propriedades calculadas pelo modelador
(SolidosCommit "\nReconstruindo...")
Example usage in Dynamo:
alin = "45668";
profile = "E5A69";
network = "87912";
partSize = "F4A8B";
starting = 0.0;
ending = 100.0
proertyList = Dictionary.ByKeysValues(
["Section", "IsFromAlignProfile", "FromAlign", "FromProfile", "FromAlignStart", "FromAlignEnd"],
[partSize, "AlignProfile", alin, profile, starting, ending]);
device = SolidosAPI.SolidosCreateNode(network, "Device", propertyList);
SolidosAPI.SolidosCommit("Reconstruindo...");