有没有为在AnyLogic中添加路径设置的键盘快捷方式?

huangapple go评论42阅读模式
英文:

Is there a keyboard shortcut for adding a path to AnyLogic?

问题

I'll provide translations for the non-code part of your text:

"新手问题。

我正在构建一个具有多个通往不同节点的繁忙网络的AnyLogic模型。

似乎每个节点到节点段(或段)都需要:

  1. 双击空间标记中的路径
  2. 单击节点一
  3. 单击路径的拐角(如果有的话)
  4. 单击节点二

要为网络执行此操作,需要为要添加的每个节点重复此操作。

我想知道是否有快捷键可用于步骤1,因为这是最大的鼠标来回移动。

我发现的另一件事是,您可以双击第二个节点(上述步骤4),这允许您继续进行,但它将连接放在节点的随机位置,需要您清理它。

还有其他可能的方法来添加所有这些路径到AnyLogic吗?

下面是仍在构建中的网络的图像。要将图像左上角的所有蓝色正方形连接到网络似乎需要重复上述4个步骤的序列6次。

有没有为在AnyLogic中添加路径设置的键盘快捷方式?

所以问题是:

  1. 是否有一个键盘快捷键可以进入路径模式(相当于双击Space Markup Palette中的路径选项)?
  2. 一个相关的问题:您是否可以(轻松地)将节点添加到两个相交的路径?
  3. 是否有更好的方法来添加一个相对大的路径网络(就像上面的图像中所示)?

顺便说一下,我知道Ctrl+拖动可以复制一个现有的组件,这通常更高效。

英文:

Noob question.

I'm building an AnyLogic model with a busy network with multiple paths leading to lots of different nodes.

It seems that each Node to Node segment (or segments) requires:

  1. Double-click the Path in Space Markup
  2. Click node one
  3. Click the corners of the path (if any)
  4. Click node two.

To do this for a network requires repeating this for each node you're adding.

I wondered if there was a keyboard shortcut for step 1, since that's the biggest mouse move back and forth.

The other thing I found out was that you can double-click on the second node (step 4 above), it allows you to carry on, but it puts the connection at a random spot on the node, which requires you to clean it up.

What are the other possible way to add all these paths to AnyLogic?

Below is an image of the network, still being built. To connect all the blue squares in the top left of the image to the network would seem to require repeating the above sequence of 4 steps 6 times.

有没有为在AnyLogic中添加路径设置的键盘快捷方式?

So the questions:

  1. Is there a keyboard shortcut to get into Path mode (equivalent to double-clicking the Path option int he Space Markup Palette)?
  2. A related question: Can you (easily) add a node to two intersecting paths?
  3. Are there better tricks for adding a biggish path network (like in the above image)?

Incidentally, I know that ctrl+drag replicates an existing component and that is often more efficient.

答案1

得分: 1

有进入路径模式的键盘快捷键吗(相当于在“空间标记面板”中双击“路径”选项)?

没有。

相关问题:您能否(轻松地)向两个相交的路径添加节点?

您将其拖动“之间”它们。

有没有更好的技巧来添加一个较大的路径网络(就像上面的图片中)?

当然。您可以完全通过代码(或从数据中)创建它。请参阅https://anylogic.help/markup/create-network-by-code.html#create-network-by-code

或者,如果您导入了一个布局,请右键单击它,让AnyLogic从中创建一个网络。

英文:

> Is there a keyboard shortcut to get into Path mode (equivalent to double-clicking the Path option int he Space Markup Palette)?

No

> A related question: Can you (easily) add a node to two intersecting paths?

You drag it "between" them

> Are there better tricks for adding a biggish path network (like in the above image)?

Absolutely. You create it 100% via code (or from data). See https://anylogic.help/markup/create-network-by-code.html#create-network-by-code

Alternatively, you have a layout imported, right-click it and let AnyLogic create a network from it.

huangapple
  • 本文由 发表于 2023年5月23日 01:17:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/76308555.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定