Comments (4)
Can you explain further you explanantion? when copying a new nodeid is
created and the original browse name is kept. how do you think it should
behave?
On Thu, 17 Nov 2016 at 12:37 Sten Grüner [email protected] wrote:
Copy-paste should be of paste-environment and adjust Browsename acoringly
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#31, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfztksvHfY1VUzy68BhrOx9dDg9Hhkks5q_Dx2gaJpZM4K1Mt0
.
from opcua-modeler.
There is a Browsename in format "nsid:String" and there is a nodeid as a struct with nsid and so on.
If I paste a node where a context is clear e.g. an attribute form node in NS0 and paste it as a child of type in NSX, I'd like that browsename is changed from "0:bla" to "X:bla" and the NS id in the new nodeid is change accordingly. Furthermore, a popup would be good to ask me to enter or generate a unique nodid in new namespace.
What do you think?
from opcua-modeler.
Showing a dialog is a good idea. We can ask for namespace. But asking for
node IDs seems difficult, there may be many nodes created...
On Thu, Nov 17, 2016, 14:14 Sten Grüner [email protected] wrote:
There is a Browsename in format "nsid:String" and there is a nodeid as a
struct with nsid and so on.If I paste a node where a context is clear e.g. an attribute form node in
NS0 and paste it as a child of type in NSX, I'd like that browsename is
changed from "0:bla" to "X:bla" and the NS id in the new nodeid is change
accordingly. Furthermore, a popup would be good to ask me to enter or
generate a unique nodid in new namespace.What do you think?
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#31 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfztqLPQbq7MPEfLPJL-b2NqdaFK-Gks5q_FNIgaJpZM4K1Mt0
.
from opcua-modeler.
To be honest I never use copy paste when I'm using modeler, but it seems like we would only need to choose a namespace for pasting. Then we can use the existing "new node" convention, which is like this:
- Auto node id uses counter specific for each address space; this counter auto increments
- Create own node id by typeing, and you need to type the "ns=x" yourself; if you make an int or string node id all child node ids will follow the same convention
In a previous PR I tired to make ns=x automatically match the selected namespace, but @oroulet said that user should type it. I don't really understand why, but that's how it is for now.
from opcua-modeler.
Related Issues (20)
- Possible to add object array to a Object Type? HOT 1
- Pull Properties from TypeDefinition HOT 3
- List Index out of Range HOT 1
- Cannot load MachineVision Specification nodeset
- TypeError: hasattr(): attribute name must be string HOT 3
- enumeration HOT 4
- Installation on Windows 10
- SyncNode' object has no attribute 'get_attributes' HOT 5
- --
- ImportError: cannot import name 'type_string_from_type' from 'asyncua.ua.uatypes
- XML Parsing Error HOT 1
- AttributeError: 'Node' object has no attribute 'read_attributes' HOT 6
- TypeError: __init__() got an unexpected keyword argument 'namespaceidx' HOT 4
- opcua-modeler==0.5.12 incompatible with python-opcua==0.98.13 HOT 7
- Impossible to load default schema `Opc.Ua.Di.NodeSet2.xml` HOT 1
- Unable to save model HOT 2
- unable to install
- Crash upon entering reference HOT 1
- Scrambled Namespaces
- Annoying focus policy in dialogs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opcua-modeler.