Hello, I am trying to set-up linksets. Using the 'create(linkset)' command creates the linkset in the link module, but there is no linkset created in the requirement module. What I do manually is edit File/Module Properties, select the 'Linksets' tab, select 'Add' and create the linkset. I also check the 'Mandatory' option when in the Add dialog box and the 'Only allow outgoing links to the target modules in the above list' box in the 'Linksets' tab. How is this done (which commands are to be used)? Thanks in advance Mike.P.Adams - Thu Apr 02 10:40:24 EDT 2015 |
Re: Creating Linksets Everybody else seems to be in easter vacation, so I'll try to answer this :) A "link set" is something where information about concrete links are stored. They are objects of link modules. Every time you create a link it goes "through" one link set. In the module properties you define "link restrictions" aka "link pairings", that is the information which link modules shall be used when creating links to a defined module. Link restrictions/pairings are called LinkModuleDescriptors in DXL (don't ask me why there are so many names for the same feature) The DXL help gives quite a good overview on this in chapter "Links" (chapter 18 in 9.6 pdf file). It has a subchapter "Link management" which gives information about the command addLinkModuleDescriptor, which is the command you are looking for. This chapter also shows you more commands like setLinkModuleDescriptorsExclusive, setMandatory, etc. Don't be surprised that there is a folder in the list of parameters for addLinkModuleDescriptor, this is because this restriction information is not stored in the module but in it's containing folder/project.
Hope this helps, |
Re: Creating Linksets Mike.Scharnow - Thu Apr 02 17:43:57 EDT 2015 Everybody else seems to be in easter vacation, so I'll try to answer this :) A "link set" is something where information about concrete links are stored. They are objects of link modules. Every time you create a link it goes "through" one link set. In the module properties you define "link restrictions" aka "link pairings", that is the information which link modules shall be used when creating links to a defined module. Link restrictions/pairings are called LinkModuleDescriptors in DXL (don't ask me why there are so many names for the same feature) The DXL help gives quite a good overview on this in chapter "Links" (chapter 18 in 9.6 pdf file). It has a subchapter "Link management" which gives information about the command addLinkModuleDescriptor, which is the command you are looking for. This chapter also shows you more commands like setLinkModuleDescriptorsExclusive, setMandatory, etc. Don't be surprised that there is a folder in the list of parameters for addLinkModuleDescriptor, this is because this restriction information is not stored in the module but in it's containing folder/project.
Hope this helps, Thanks Mike. This answers for what I was looking to find. Have a nice day! |