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 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 with all blocks from the assets using the method BuildBlockLibrary() when CFxARESDelegate triggers onInitializationDone(). The method onInitializationDone() is called  only once each application session. The block library uses getDrawingThumbnail() from singleton CFxARESInstance.instance() to create a drawing block preview. 

File: BlockLibrary.java

...