高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how to create a layout using a tamplate dwt file
how to create a layout using a tamplate dwt file?
how to create a layout using a tamplate dwt file?
hi ,
is there a a way of creating a new layout using a dwt template file in dwg direct c++, to add layouts to the database?
another question, is it also possible to create a drawing directly from the dwt template file?
regards,
marc
answer for both questions is yes.
just load dwt file, just like you load dwg files by dwgdirect.
dwt is not more then renamed dwg.
sincerely yours,
george udov
thanks, i will try that.
just another question, after creating the initial database (by loading the dwt template) how are subsequent layouts added to the same database using the dwt template?
just like it added without using the dwt template.
oddbdatabase::createlayout()
sincerely yours,
george udov
quote:
originally posted by george udov
just like it added without using the dwt template.
oddbdatabase::createlayout()
hi george,
just to clarify, a drawing has to be created with a variable number layouts with different names but all containing the layout format from a dwt template
e.g. something similar to "ansi a -color dependent plot styles.dwt"
therefore if the drawing had 5 layouts they would all contain the relevant template titleblock.
the functionality required would be something similar to the "layout from template..." menu option in autocad 2002.
regards,
marc
marc,
i finally understand a question :-)
dd don't have functionality for directly this task - adding the layout from file. but this functionality can be implemented using dd api.
sincerely yours,
george udov
|