Part, Feature, Section Relations and Parameters - Export All?

Is it possible to do a one shot export of all relations and parameters rather than accessing and exporting each entity's relations? (WF2 Foundation
Advantage)
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Not sure about WF, but in r2001 under info there is relations and parameters which will create a file called rels.inf
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

also show feature and section relations. The 'Tools>Relations' menu has 'File>Export', but as Lumpy points out, it'll only export one set of relations at a time, whichever one you're in at the time ~ part, feature or section, and only for the feature or section you just chose. I thought, since 'Tools>Program' has a relations section that the information might be in there, but no dice: no section or feature relations at all. The 'Info>Model' report is as close as you'll come to capturing all that information in one place. And you can 'export' it with the Save icon at the top (in HTML format only so it may be of limited value, depending on what you're trying to do with it). It doesn't give a filtered list with only relations, however. And to see feature and section relations, you have to go to the feature and click on the info icon at the right.
I was also thinking that 'Tools>Program' might offer another opportunity to do what you'd like with J-link and by running a program from there. Seems like the builtin Java interface might be able to do a search and report on relations in the model. Anyway, I can't confirm this as a fact but it does seem like something it ought to be able to do.
--
David Janes



Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Lumpy, What all are you after? The rels and parameters? or where used on all the features of the model? If you use a parameter value to alter a feature you need both files, you'll get the value in the info>model file. You might get what you want from customizing the model tree. and outputting that text file Or with j-link,. Just how friendly is this file info>model to j-link with WF any better output?
In r2001 most of the inf files aren't and are difficult to parse, Is that what you would end up doing it j-link parsing out that file?
Wally wanted me to ask you what is was you want to export it to, because Eddie Haskell wants a copy ;-)
B.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Thanks for the thoughts, gents.
What I needed to do was compile all the information in a coherent form and trace my way through it, sanity check, verify and have something to present to the reigning authorities so they might do the same with a minimum of effort.
What I found after knocking things about --
Info, Relations and Parameters is a good way to find it all. It shows all entities that have relations associated with them. One could navigate to individual features using the browser, copy / paste to a text doc or print to a file via a generic text print device but the output is difficult to format, or simply use it as a reference and access via Tools, Relations and / or Parameters.
Preferable for my purposes was using ModelCHECK. It will show model and feature relations but not section relations and model parameters but not feature parameters. As it was I had no section relations or feature params to worry with. Getting the information out was still a hurdle as the print function sucks, at least on my system. Best method was RMB, Select All, Copy and Paste into a text file. It's clean enough that with a good, as in a programming IDE, text editor it can be organized, columnized and formated to suit.
I have never investigated J-Link. Am I missing something good?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.