Skip to main content
1-Visitor
June 20, 2019
Solved

How to save only specified component (without sub or related components)

  • June 20, 2019
  • 2 replies
  • 3393 views

Hello Everyone,

 

I was wondering whether there is a solution to save a component without related part. For example, I have an A asm and it has related B and C part like attached model tree.

 

I would like to save just A.asm even if B and C parts were changed. When I looked for a solution, I found "save_object" setting. However, it has just "changed_and_specified" option but I need to just "specified" option.

 

In the meantime, I would like to say why I need that. I would like to write a special save application via J-link, so I need to manage saving status by myself. 

 

If someone might find a config option or j-link method, it will be great for me.

Thanks in advance

Best answer by MartinHanak

Hi,

it looks like you have to implement something like ...

  • get current system time ... CURTIME
  • save assembly
  • delete component files newer than CURTIME

 

2 replies

24-Ruby III
June 20, 2019

Hi,

it looks like you have to implement something like ...

  • get current system time ... CURTIME
  • save assembly
  • delete component files newer than CURTIME

 

24-Ruby III
June 20, 2019

Also ... you can put B and C into special directory with ReadOnly access and set following config.pro options

override_store_back NO

!*** NO ... Creo stores objects in their original directories. If you do not have write permission to the original directory, the configuration option save_object_in_current takes effect.
save_object_in_current NO

!*** NO ... Creo does not save the object in the current directory.

 

MMK21-VisitorAuthor
1-Visitor
June 20, 2019

Hi Martin,

Thanks for your alternative solution. SavingTime is good recommendation for me. However, I was wondering whether there is s solution in Creo side or not.