[cgma-dev] CGM Instance

Paul Wilson wilsonp at engr.wisc.edu
Thu Jan 16 11:47:02 CST 2014


On 01/16/2014 11:30 AM, Patrick Shriwise wrote:
> On 01/15/2014 03:33 PM, David Thompson wrote:
>>> I'm currently writing tests for MOAB's Read_CGM. In this process I'm 
>>> loading an ACIS file multiple times in different MOAB instances. 
>>> This causes the file loads to 'stack' upon one another when I do 
>>> this however. Any recommendations on how to clear the CGM data if I 
>>> want to load a file more than once?
>> Have you tried
>>
>>     GeometryQueryTool::instance()->delete_geometry();
>>
>> or does that not do what you want?
>>
>>     David
> Haven't tried that yet. Going to give it a shot today. Do you think 
> the function is accessible from within a MOAB instance?
>
Patrick,

This is available through the same (or similar) CGM interface that is 
used to to call get_graphics() in ReadCGM.  You'll need to set it up in 
your tests probably.

Paul

-- 
-- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ --
Paul Wilson ~ UW-Madison ~ 608-263-0807 ~ cal: http://bit.ly/pphw-cal
Professor, Engineering Physics. ~ http://cnerg.engr.wisc.edu
Faculty Director, Advanced Computing Infrastructure


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6244 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20140116/5c8210f7/attachment.bin>


More information about the cgma-dev mailing list