Tired of digging through menus because your most-used SysML v2 elements aren't in the creation dialog? 🛠️
I just dropped a new video showing how to easily patch your CATIA Magic UI to add elements like Views and Viewpoint Definitions right into your palette. We're keeping it strictly focused on native, out-of-the-box configurations rather than writing complex code.
Grab the downloadable source file below, check out the video, and let me know in the comments which elements you're adding to your customized dialog!
👇 https://youtu.be/rR4jH4FsGVw
Patch File (if preferred textual notation below):
SysML V2 Textual Notation:
package CustomElementCreationDialogs {
part def CustomizedElementCreationDialog :> DS_UIComponents::UIComponents::SysMLElementCreationDialog {
part addedElements :> itemCategories {
attribute :>> isCollapsed default false;
attribute :>> hasVisibleLabels default true;
attribute :>> label default "Added Elements";
part viewpointUsageItem : DS_UIComponents::CoreUIComponents::Dialogs::DialogItem :> abstractItems {
perform action : DS_UIComponents::CoreUIComponents::Operations::OperationByMetaclass :>> operation {
in ref = SysML::Systems::ViewpointUsage.metadata;
}
}
part viewpointDefinitionItem : DS_UIComponents::CoreUIComponents::Dialogs::DialogItem :> abstractItems {
perform action : DS_UIComponents::CoreUIComponents::Operations::OperationByMetaclass :>> operation {
in ref = SysML::Systems::ViewpointDefinition.metadata;
}
}
}
}
}Documentation:
https://docs.nomagic.com/SYSML2P/latest/creating-element-creation-dialog-304006371.html
Other Related Videos:
https://youtu.be/1DV64W03MAc?si=qLlAVCpyrqCU1XvT
