Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing plant model elements' layers after creating them #51

Open
vincentknw opened this issue Oct 10, 2022 · 2 comments
Open

Allow changing plant model elements' layers after creating them #51

vincentknw opened this issue Oct 10, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@vincentknw
Copy link

Affected version

5.6

Steps to reproduce

new some point and path in two diffrent layer,cut elements in one layer and paste to the other layer

Expected behaviour

path and points succeesfully copy to the other layer

Actual behaviour

only points paste to the other layer ,paths failed, and some path disappeared when cut。

Additional information

BTW, is there any convenient way to change layers of some elements

@swltr
Copy link
Member

swltr commented Oct 20, 2022

@vincentknw I am unable to reproduce the behaviour you described. What I have done:

  1. Create a couple of points, either on the same layer or on different layers.
  2. Create a path between the points.
  3. Select the points and the path.
  4. Cut the selection via Ctrl+X.
  5. Switch to a different layer.
  6. Paste the selection via Ctrl+V.

The result is that all of the points and the path are present on the new layer. This also works with more than two points and/or when the points initially are on different layers.

If you can reproduce the issue, please describe in detail the steps to reproduce it.

@vincentknw
Copy link
Author

vincentknw commented Nov 3, 2022

1.create p1 and p2 in layer1;
2. new a layer2(layer2 activated), copy p1 and p2 into layer2, named p3 p4;
3. connect path p1-p2, p3-p4 in layer2
4. result: change visible of each layer , we can see p1 p2 in layer1 but path p1-p2 in layer2 , and i cant find anyway to change the layer of p1-p2
ps: people sometime forget to active the layer ,so mistake can happen obove,if i cut p1 ,path p1-p2 disappeared immidiately, after i paste it in another layer , i had to reconnect the path and add some properties

@swltr swltr changed the title Path cut&paste bug Allow changing plant model elements' layers after creating them Apr 11, 2023
@swltr swltr added the enhancement New feature or request label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants