question

Axel Kohonen avatar image
0 Likes"
Axel Kohonen asked Axel Kohonen edited

Is it possible to set an operator to "Use navigator for offset travel" in code?

Hi,

Is it possible to set an operator to "Use navigator for offset travel" in code? I found a matching vriable in the model tree for all the others in the operator window using the sampler, but the offset travel does not give me anything.

Thank you!

Kind regards,

Axel

FlexSim 17.1.4
astaruse navigator for offset travel
astar.png (19.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sebastian Hemmann avatar image
3 Likes"
Sebastian Hemmann answered Axel Kohonen edited

You only have to set the variable "useoffsets" to another number!

setvarnum(Operator,"useoffsets",2);
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Axel Kohonen avatar image Axel Kohonen commented ·

Hi @sebastian.hemmann

Thank you for that! Did not find the correct variable although I tried to look in the tree.

@phil.bobo Would be nice if the sampler would work also on this variable when hovering it above the variable in the operator window.

And there are macros defined in FlexSim for the different settings,
OFFSET_BY_NAV_LOGIC, OFFSET_BY_TE_LOGIC, etc.

Axel

1 Like 1 ·