|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】svg And Extended Data
svg and extended data
svg and extended data
hi.
first, i'm a freshmate when it comes to using the dwgdirect c++ library.
my question is; is it possible to export extended data with the svg export module.
if not:
can i add this functionality to the svg export module myself. or will the dwgdirect vectorization framework, which the svg export module uses or extends, limit my possibilities when it comes to adding new features to the svg module?
thanks in advanced
johan arnt
the sources of svg export are open, and you may add there anything you need. to export xdata attached to entity you may check currentdrawable() while vectorizing and access an entity through it.
what do you intend to do with multiple viewports though?
vladimir
thanks for your quick reply.
the extended data are used as room id in the dwg file, i.e they are attached to some room polygons. i will use the extended data to set the id attribute for the polygons in the exported svg file. does it sounds ok?
jam
quote:
originally posted by wvk
the sources of svg export are open, and you may add there anything you need. to export xdata attached to entity you may check currentdrawable() while vectorizing and access an entity through it.
what do you intend to do with multiple viewports though?
it is possible, but you will have to apply some efforts.
(group primitives by entity, first of all)
vladimir
thanks,
i'll give it a try!!
jam
quote:
originally posted by wvk
it is possible, but you will have to apply some efforts.
(group primitives by entity, first of all)
|