I am writing a JLink application to create drawings using a drawing template. Things seem to be working fairly well except there are two parameters in the format within my template that should be owned by the drawing. Ideally I would like the user to be able to enter the values for these two parameters through a GUI before the drawing is created but I do not see how I can create a drawing paramter for a drawing before the drawing exists. My other option is to have Pro/E prompt the user to create the parameters and give them valuse using the DrawingCreateOption DRAWINGCREATE_PROMPT_UNKNOWN_PARAMS but this seems to only prompt me for one of the parameters. Does anyone have any ideas on how I can do what I want?
I have attached a bit of the code for reference.
Thanks in advance
Scott