Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadvance > Batch-Create of...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 29 of 58
Post > Topic >>

Batch-Create of BMP Images from VWF Drawings

by Howie <howieh@[EMAIL PROTECTED] > Jul 15, 2004 at 02:04 PM

Any idea ?

I have a macro that does the job, but how to start it within a batch
with several hundrets of files ?

Macro:

////////////////////////////////////////////////////////////////
$INCLUDE 'cdi_incl.cbh'
 
sub main
 
   cv_osl = 0
   null_ptr = 0
   dimension_osl = CdiCreateLocalOsl(CDI_OBJECT_COLOR, null_ptr,
CDI_REDRAW_OSL)
 
   vwf_load.reload_symbols = CDI_FALSE
   vwf_load.read_only = CDI_FALSE
   i_ret = CdiLoadFile("XXX.vwf", CDI_FILE_VWF, vwf_load)

   vwf_save.overwrite_file = CDI_TRUE
   vwf_save.save_symbols = CDI_TRUE   
   c1.x = 0
   c1.y = 0
   c2.x = -212299
   c2.y = -379335
   c3.x = 609899
   c3.y = 194693
   i_ret = CdiZoom(CDI_ZOOM_WINDOW, 1.000000, c1, c2, c3)


   i_ret = CdiSaveFile("XXX.bmp", CDI_FILE_BMP, vwf_save)
 
end sub
////////////////////////////////////////////////////////////////

thanks in advance,

howie
 




 1 Posts in Topic:
Batch-Create of BMP Images from VWF Drawings
Howie <howieh@[EMAIL P  2004-07-15 14:04:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 20:37:00 CDT 2008.