Types are greyed out and can't be selected

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
kapsl
Jr. Member
Jr. Member
Posts: 2
Joined: 12 Jan 2017, 16:37

Types are greyed out and can't be selected

Post by kapsl »

Hello,
I'm currently trying to model a few types. Therefore I create 2 models.
- The main model contains a new object type (e.g. lbr)
- The second model contains another object type (e.g. movingCommands)

If i do now load the second model into the first one I want to do following:
Add a Child with NodeClass Object and TypeDefinition movingCommands to lbr. But in the selection window of TypeDefinition the type movingCommands (all my commands) are grey and can't be selected. When I try to do this operation on an standard OPC UA Type or PLCOpen i can add my type.

Does anybody have an idea, where the problem is?

Thanks,
lg Manu

User avatar
Support Team
Hero Member
Hero Member
Posts: 3069
Joined: 18 Mar 2011, 15:09

Re: Types are greyed out and can't be selected

Post by Support Team »

In UaModeler you can select types from the same model or from a model with a lower NamespaceIndex. The gui does not allow to select types from models with a higher NamespaceIndex. This mechnism avoids to create "circle-dependecies" between different models.
You need to change the order or the models in your project, i.e. remove custom model 1 and insert it at a position after custom model 2.
Best regards
Unified Automation Support Team

Post Reply