DiscussionsIssue archiveData Exchange and Application Framework

Archived discussion

Tip: How to improve performance when STEPControl_Writer::Transfer is called often

Data Exchange and Application FrameworkTue, 06/09/2015 - 17:323 replies

Browse this forum
QuestionAuthor

When STEPControl_Writer::Transfer () is called multiple times in order to export a list of shapes to a common STEP file, the performance might be bad because the third parameter "compgraph" of the Transfer function is true by default. It means after every translation of a shape the graph is rebuilt.

Instead this parameter can be set to false and only after all shapes are translated the graph can be built once only by:

writer.WS()->ComputeGraph(Standard_True );

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

I have tried it. This seems to be a really great tip! Thank you!!!

02Commenter-2

Hi Author,

It works, Great!

Thanks a lot.

Regards,

03Commenter-2

Hi Author,

It works, Great!

Thanks a lot.

Regards,