Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To accomplish a feature like a block library the DWG Expert introduces three two separate classes. A class to describe the block Block.java and a class to manage all existing blocks BlockLibrary.java . The block library is created and initialized when CFxARESDelegate triggers onInitializationDone() with all blocks from the assets using the method BuildBlockLibrary(). The method onInitializationDone() is called  only once each application session. The block library uses getDrawingThumbnail() from CFxARESInstance.instance() to create a drawing preview. 

...