DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0028082

UpdateAssembly() method in shape tool is not recursive

Open CASCADEOCCT:Data Exchangeclosed2 public notes

Search issues

Description

Today UpdateAssembly() method is used in XCAFDoc_ShapeTool for updating internal compounds stored in (sub)assemblies. This method is implemented in a non-recursive manner (it updates only the parent compound). What is proposed:

1. To make this method recursive to propagate compound update in a bottom-up manner. The current behavior is considered faulty.

2. To make the invocation of this method optional (enabled by default?). The idea is to let the user disable any updates unless he finishes some low-level modifications (modify instances, remove components, etc.). At the end, a global update can be done (see #0028055).

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Sergey, is this issue still relevant? I suppose fix for #0028055 should be sufficient (it also removed method UpdateAssembly()) -- can you please confirm?
02Commenter 2
Confirmed. This issue is not relevant since a better approach was implemented.

Related records