1
Automation Interface, Add-Ins and Tools / Re: _tagGroupings Ignored in EA 16.1 Technology Stereotype
« on: February 23, 2026, 09:33:54 pm »
Thanks! now it is working
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Unit=PhysicalAttributes;Physical=PhysicalAttributes;MaxValue=SignalProperties;MinValue=SignalProperties;Accuracy=SignalProperties;Resolution=SignalProperties;shape main
{
noshadow = "true";
if (HasTag("ElementType","Mechanical"))
{
setfillcolor(210,108,30);
}
...
else if (HasTag("ElementType","Mechatronical"))
{
setfillcolor(255,228,188);
}
DrawNativeShape();
}
decoration Type
{
orientation = "SW";
if (HasTag("showElementType","true"))
{
if (HasTag("isSignal","true"))
{
println("Sig");
}
...
else if (HasTag("ElementType","Mechatronical"))
{
println("Mea");
}
}
}
decoration SIL
{
orientation = "NW";
if (HasTag("showSafetyIntegrity","true"))
{
if (HasTag("SafetyIntegrity","None"))
{
// hide label
HideLabel("");
}
else
{
// Not applicable
if (HasTag("SafetyIntegrity","Not applicable"))
{
setfillcolor(255, 255, 255);
print("Na");
RoundRect(0,0,100,100,4,4);
}
....
}
}
}
shape RelatedElement
{
if(HasProperty("Connector.Type", "Realisation"))
{
if(HasProperty("Element.IsTarget"))
{
SetCompartmentName("ExternalRequirements");
AppendCompartmentText("Req #Element.Name#");
}
}
if(HasProperty("Connector.Type", "Dependency"))
{
if(HasProperty("Element.IsSource"))
{
SetCompartmentName("DerivedRequirements");
AppendCompartmentText("Req #Element.Name#");
}
}
if(HasProperty("Connector.Type", "Abstraction"))
{
if(HasProperty("Element.IsTarget"))
{
SetCompartmentName("AllocatedTo");
AppendCompartmentText("#Element.Name#");
}
}
}