高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】failed to explode block including polyline entity
failed to explode block including polyline entity
failed to explode block including polyline entity
i have this drawing file that i have created with dwgdirect c++ version.
as i look at the properties of this drawing with odamfcapp i can see that there is block named view1 that has a polyline entity. now when i open it with autocad 2002 and explode the view1 block the polyline entity is seen as line entity.
i cannot see what is wrong with this picture. it would be great if someone could take a look at this file and help me.
in autocad 2002 if i select "insert" to this block and then explode this copied block then the polyline entity is shown correctly for this new block.
attached files
exploding the block reference autocad copies entities from block and applies transform to them.
in your drawing block reference (view1) has non-uniform scale (0.1, 0.1, 1.0)
acdbpolyline can't be transformed non-uniformly. so it's exploded too and transform is applied to result of explode.
if you insert reference to view1 in autocad and set non-uniform scale to it you'll see the same result.
sergey slezkin
is there nothing i can do...
thanks for quick response!
i noticed that i cannot use oddb2dpolyline either. is there anything i can do to use non-uniform scaling for block that includes polylines or are there any alternative methods i could use??
when autocad explodes block it applies transform to entiities. not all entities can be transformed non-uniformly. among them acdbpolyline and acdb2dpolyline.
so exploding non-uniformly scaled block reference autocad explodes the polylines.
you can use non-uniform scale for block reference containing any entities. but some of them will be exploded if block reference is exploded.
it'a autocad's feature.
btw, some entities which cannot be transformed non-uniformly and result of their explode can't be transformed too will be moved to another block.
see what happens if you explode non-uniformly scaled block reference with 3dsolid....
sergey slezkin
problem is now solved
hello,
i did not realize that i should have set the z-scale factor value to be the same as others (x and y). that is because i did not understand what uniform scaling means. anyway now the problem is solved and many thanks to you sergey for your help!
-juhani
|