Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84248members
353348posts

".Name" as the default Parameter value

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Tanquen
Lt. Commander
Lt. Commander
0 Likes
4
774

".Name" as the default Parameter value

I'd like a text string in an embedded object to show the group name it’s currently in.

If I use <".Name"> in the Text expression of the original object I get the name of the Library Group it came from.

If I create a Parameter for the Text expression and set the Parameter default value to <".Name"> it shows <.Name> in the string.


If I put <".Name"> in the Parameter expression after it’s been embedded it then shows the Group name it is currently in. Thought it would be nice not to have to remember to type that in each time.

Tags (1)
4 Replies 4
Hardin4019
Lieutenant
Lieutenant
0 Likes
3
753

Re: ".Name" as the default Parameter value

Possibly an issue with using Text parameter instead of Value.

 

I am using the Value parameter and have a working embedded Text block in a templated mimic that has Value = 'Some fixed text ' + ".Name" 

 

Also, maybe instead of ".Name" you want ".ParentGroupName" to get the name of the group the object is in.

 

Tags (1)
Tanquen
Lt. Commander
Lt. Commander
0 Likes
2
751

Re: ".Name" as the default Parameter value

You have that as the "Default Value" in the original objects Parameter for the text?

 

Using the Text or Value Animations Expression don't seem to matter. The Parameter "Default Value" comes through as the text string <".Name"> not the group name. If I just put the same thing <".Name"> in the same Parameter after it's been embedded then it works.

 

So every time you embedded it you have to go in and put <".Name"> in the same Parameter even though the Parameter "Default Value" is the same thing it just don't process it first and passes the sting.

Tags (1)
Hardin4019
Lieutenant
Lieutenant
0 Likes
1
732

Re: ".Name" as the default Parameter value

No. I guess I misused "Parameter" when I should have used "Property". The text box in the mimic I use has no templated "Parameters", it just uses a fixed Expression to set the value of the text box value to ".ParentGroupName" which grabs the Group name of the group that the mimic is in. 

 

To the best of my knowledge, anytime you use a mimic with additional "Parameters" assigned, you have to configure those Parameters when you use the mimic as an embedded mimic. I also did a quick test, I couldn't get a default value to use .Name or .ParentGroupName.

Tags (1)
Tanquen
Lt. Commander
Lt. Commander
0 Likes
0
725

Re: ".Name" as the default Parameter value

Ok, is there may be a way to have some script update the parameter when the object is embedded? I’d also like to have a template update it’s tags Outstation path when creating an instance.

Tags (1)