Skip to Content

Object List for selected objects on diagram

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 20, 2017 at 06:55 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2017 at 04:00 PM

    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)

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • Sep 12 at 02:49 PM

    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

    
     
    
                                                
    Add comment
    10|10000 characters needed characters exceeded