on 12-20-2017 2:19 PM
I would like to select several objects on a diagram, and then edit just those objects in an Object List.
I cannot find how to do this anywhere in the help.
Here's the nearest I've been able to get with a script. This script will display a list of the currently selected LDM entities for you to choose from, when you click on OK or cancel it will open the property sheet for the selected entities
Dim selection1 ' as ObjectSelection
Dim ent ' Create a new selection
set selection1 = ActiveModel.CreateSelection
selection1.AddActiveSelectionObjects() ' add all objects currently selected on diagram
Selection1.RemoveObjects PdLDM.Cls_Relationship,True ' remove Relationships from the selection
Selection1.RemoveObjects PdLDM.Cls_Inheritance,True ' remove Inheritances from the selection
Selection1.RemoveObjects PdLDM.Cls_InheritanceLink,True ' remove Inheritance Links from the selection
Selection1.RemoveObjects PdCommon.cls_ExtendedDependency,True ' remove Traceability Links from the selection
Selection1.ShowObjMultiSelection Selection1, "Objects"
for each ent in selection1.Objects
if ent.Classname = "Entity" then
ent.ShowPropertySheet()
end if
next ' ent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I've run into this before and had to make due. If you put each diagram(and it's entities) in a separate package, I think you could use a filter on the Package owner.
The List Report looks like it should allow you to do what you want, but I have not figured out how.. yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use dependency matrices. For example:
Rows = Entities
Columns = Logical Diagrams
Dependency = Diagrams
Use the toolbar to limit the columns to one or more selected diagrams, and to filter the row so you only display entities that are on the selected diagram(s)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That will be useful, but my question was a bit ambiguous. What I meant was that suppose I have a diagram with a number of entities on it. I then select 4 of them, and I then want these to appear in an Object List so that I can edit all of their properties at once, such as their stereotype, data type, etc.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.