PDA

View Full Version : Annotator / WorkManager Titleblocks


gmatelich
12-15-2002, 12:46 PM
How do I tell Annotator that my drawing frames are in the vds_tb_frame class instead of TitleBlockClass class?

Yannick Rouat
12-16-2002, 02:45 AM
in file #work_dir#\desktop\aips\me10\startup\cust.m

look the section Title Block - Setup:

you have a line to define your class

{* WorkManager classname for title blocks *}
LET Awmc_val_tb_class 'vds_tb_frame'

gmatelich
12-16-2002, 11:27 AM
it seems like I need some way to tell Annotator what the class name is. Perhaps there's something odd due to the order our customization loads. I added the let statement but the two still aren't talking the same language.
When I start a trace in WM, then try to load a frame in Anno, I get this feedback:
LET Global_dde_handle ( DDE_WITHHOLD_ACK ) 462354
Awmc_me10_il_load_tb_frame "B" "<TitleBlockClass>"
"C:/DOCUME~1/gregm/LOCALS~1/Temp/me105047.tb" Awm_me10_il_load_tb_frame
Tb_size "B" Tb_class "<TitleBlockClass>" Dwg_file
"C:/DOCUME~1/gregm/LOCALS~1/Temp/me105047.tb"

which leads to this error:
{ERROR: *** ERROR: Class '<TitleBlockClass>' not found in query 'Awm_1365_ltab_qry'}

Yannick Rouat
12-16-2002, 01:32 PM
Where do you insert the let statement.
If it is in workmanager , it does not work.
because the cust.m was only read by me10 or annotator

Wolfgang
12-18-2002, 10:07 AM
Did you have a look to
<osddir>/help/common/DesignManagement/Annotation/english/module4.html ?

in addition have a look to your wm_am_customize file.. AFAIR there's the class defined, it's a one line statement ( I have no OSD available right now )

That's the function:

(docu-register-tb-classes
:partclass "this"
:docclass "that"
)