askrius Posted March 3, 2009 Posted March 3, 2009 Does anyone know what the mapping is for the DWGVersion enum? Quote
iblanco Posted May 16, 2011 Posted May 16, 2011 It is the version of the DWG format. if fs.Read(data, 0, 6) = 6 then match (new System.Text.ASCIIEncoding()).GetString data with | StartsWith "MC0.0" -> "R1.0" | StartsWith "AC1.2" -> "R1.2" | StartsWith "AC1.40" -> "R1.4" | StartsWith "AC1.50" -> "R2.05" | StartsWith "AC2.10" -> "R2.10" | StartsWith "AC2.21" -> "R2.21" | StartsWith "AC2.22" -> "R2.22" | StartsWith "AC1001" -> "R2.22" | StartsWith "AC1002" -> "R2.5" | StartsWith "AC1003" -> "R2.6" | StartsWith "AC1004" -> "R9" | StartsWith "AC1006" -> "R10" | StartsWith "AC1009" -> "R11" | StartsWith "AC1012" -> "R13" | StartsWith "AC1014" -> "R14" | StartsWith "AC1015" -> "2000" | StartsWith "AC1018" -> "2004" | StartsWith "AC1021" -> "2007" | StartsWith "AC1024" -> "2010" | _ -> "Unknown" else "" Hope this helps to identify what DWG versión each one is. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.