2007-11-30 12:22 AM
2007-11-30 04:09 PM
! MASTER SCRIPT DEFINE STYLE{2} 'sty1' 'Arial', txtsz, 0 DEFINE STYLE{2} 'sty2' 'Times', txtsz*0.8, 0 DEFINE STYLE{2} 'sty3' 'Times', txtsz*1.1, 0 PARAGRAPH "par1" 1, 0, 0, 0, 1.0, 1.0 PEN 52 SET STYLE 'sty1' MATERIAL 1 "On one side, New Bedford rose in terraces of streets, their ice- covered trees all glittering in the clear, cold air. " PEN 42 SET STYLE 'sty2' "Huge hills and mountains of casks on casks were piled upon her wharves, " "and side by side the world-wandering whale ships lay silent and safely moored at last; " "while from others came a sound of carpenters and coopers, " "with blended noises of fires and forges to melt the pitch, " PEN 32 "all betokening that new cruises were on the start; " "that one most perilous and long voyage ended, only begins a second; " MATERIAL 2 "and a second ended, only begins a third, and so on, for ever and for aye. " SET STYLE 'sty3' "Such is the endlessness, yea, the intolerableness of all earthly effort." ENDPARAGRAPH TEXTBLOCK "block1" 100, 1, 0, 1.0, 1.0, 1, "par1" ! 2D SCRIPT RICHTEXT2 0,0, "block1" ! 3D SCRIPT RICHTEXT 0,0, 1', 0, "block1"
2007-12-04 09:08 PM
2007-12-05 02:47 PM
DEFINE STYLE 'txtsty' txtFnt,txtsz,5,0 SET STYLE 'txtsty' DEFINE STYLE{2} 'sty1' 'Arial', txtsz, 0 DEFINE STYLE{2} 'sty2' 'Times', txtsz*0.8, 0 DEFINE STYLE{2} 'sty3' 'Times', txtsz*1.1, 0That first DEFINE STYLE is a standard bit of my object template, and it shouldn't be involved but it is.
2007-12-05 11:30 PM
2007-12-06 08:14 PM
2007-12-07 06:26 PM
2007-12-13 07:48 PM
drwg_name = AC_DrawingName DEFINE STYLE{2} "title_style" "Arial", 5, 0 PARAGRAPH "title_paragraph" 1, 0, 0, 0, 1 SET STYLE "title_style" PEN 7 drwg_name + "" ENDPARAGRAPHIn fact I was unable to get it to work by adding the null string outside of the paragraph definition. But I have found that it works with the parameter name as well.