![]() |
【转帖】how to set blocks scaling, explodability and description
how to set block's scaling, explodability and description
how to set block's scaling, explodability and description hello, i am creating a block entity and want to set its description, scale and explodability. for that i am creating a blocktablerecord object. oddbblocktablerecordptr poddbblock = oddbblocktablerecord::createobject(); after that i am calling setcomments function and setting desc as description. poddbblock->setcomments(desc); but it is not setting block description which is stored at dxf 4. similarly i am calling setexplodable and setblockscaling for explodability and scaling. poddbblock->setexplodable(false); poddbblock->setblockscaling(oddbblocktablerecord::kuniform) ; but this is also not saving. even causing error in entity saving and not saving block in drawing. please tell me the way by witch i can set above 3 values for the block entity. regards... nitin which dd version do you use? can you reproduce the problem in odwriteex sample? which error do you get on saving? maybe ewasopenforwrite? sergey slezkin |
所有的时间均为北京时间。 现在的时间是 11:33 AM. |