cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Undeclare Layout

Gucio
14-Alexandrite

Undeclare Layout

Hi folks,

 

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

Krzysztof
4 REPLIES 4
tbraxton
21-Topaz II
(To:Gucio)

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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
lhoogeveen
17-Peridot
(To:Gucio)

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:

  • Step 1 - For us, components declared to a layout are usually flexible components so users can tell what's flexible and what's not. Using model tree columns and/or Find tool would be helpful though.
  • Step 2 - We created a mapkey to rename and undeclare 1 component at a time. Mapkey is limited because the name of the Notebook (.lay) changes and user has to type in new name - 30s per component to rename and undeclare.

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.

Gucio
14-Alexandrite
(To:lhoogeveen)

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.

 

  

Krzysztof
tbraxton
21-Topaz II
(To:Gucio)

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.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Top Tags