Tuesday, March 17, 2009

EveryDWG CAD Command Line

EveryDWG is a utility provided by the Open Design Alliance, a consortium of firms mostly organized around DWG and other CAD standards, for doing conversion from all versions of DWG to DXF (DXF is the more interchangeable format). I was having a hard time getting this utility to work from the command line -- whenever I'd run the command I'd getting a window giving me information about proper syntax. The only trouble is THE SYNTAX USED IN THE WINDOW IS NOT CORRECT! The window says "Command line format is: Quoted input folder Quoted Output folder", but if you actually put quotes on these the command doesn't run and you're back in the same place! Here is an example of the proper syntax:

everydwg C:\TEMP C:\TEMP\OUTPUT ACAD2000 DXF 0 1

Friday, March 13, 2009

make on windows (GNU), dmake

finally found a suitable (and open source!) make executable for windows 64x, dmake. I posted it on a serve I control, so now it'll always be available (it's GNU)

Thursday, March 12, 2009

Blocks not displaying in their regions?

Blocks not displaying in their regions? Delete the block and then create it again and add again to the appropriate region. This worked for me.

Wednesday, March 11, 2009

copy mysql tables

mysql> create database db2; \! /usr/local/mysql/bin/mysqldump -u root –password=pass db1 | /usr/local/mysql/bin/mysql -u root –password=pass db2

originally seen on: http://mywheel.net/blog/index.php/2006/01/05/mysql-duplicate-database-quick-tip/