I am creating a workspace that translates an Autocad .dwg cad file into an xml. The workspace works fine. One of the validation I would like to do on the cad file in the workspace is to check if the input cad (.dwg) file is a 3d or 2d file. I know how to check the dimension of each of the cad layers using DimensionExtractor transformer. But I want to check whether the cad file itself is in 2D or 3D. I have been researching all of the Autocad Reader Feature Type Propoerties. One of the Format Attributes that might be able to give some info on the cad file's raw dimensions is autocad_dim_flag (or autocad_dimension_flag). Unfortunately, I have not stumbled upon any available documentation on how to extract any dimension (2D or 3D) info from the cad file. Any help/sugggestion is highly appreciated! Thank you!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.