any idea how to create a query in Creo (CTRL+F) that shows components having layout declared to ??
I need to find them and in the second step undeclare.
thanks in advance for any idea
I have just tested this below method in Creo 4 and it is not working. The layout is not shown as a parent of a part when declared. I will look into this further and let you know what I find out.
This is not the specific answer to your question but will should solve your problem. If you use the global reference viewer (GRV) you can see parents of an active (user selected object) if a layout is a parent then it will should up in the GRV and you will know what children that the layout has which means it has been declared to them. You can then undeclare as required.
I have not found an easy way to do step 1 or step 2 but am also curious if there's an easier way. Here's what we've done:
I haven't gotten around to making a Product Idea yet but if the Creo Save a Copy menu had the ability to undeclare/copy to a new Notebook (.lay), this would make it very easy to copy flexible assemblies.
Assuming there is a specific parameter I layout - I created a query as follow:
Look for: Solid Model
Look by: Solid Model
Attributes > Expression: Type ex. String;
Attributes > Expression: Symbol: ex. PARAMERER_FROM_LAYOUT;
Attributes > Expression: Comparison: exists
This query will find parts & assemblies that have parameter - so in other words: layout has been declared to them.
Using the global reference viewer you can see dependencies which will indicate the path to the layout and what parameters are used. There are no supported rules using the search tool unfortunately.
Layout declare/undeclare is only accessed using the file-> manage file->Declare sequence.
I would definitely vote for a search tool function that would find all parameters in a model that are dependent on a declaration from a layout. There is a distinction between global and local parameters in this context so Creo is distinguishing between them and so should in theory be able to support a parameter search function to find global parameters. It appears that this would have to be added to the code as an enhancement.
I would vote for it, while not often used in the wider community it should be supported.