Creoson how to display annotations or dimensions in generated drawing
I've been trying to use the creoson libraries to pass parameters to a model and generate a drawing from javascript ... but the dimensions in model could not be displayed in the generated drawing.. when i try to do the following,
dimObj = new creo.DimensionObj();
dimObj.name = "d0";
dimObj.showFlag = true;
respdata = await dimObj.list({file:"mydrawing.drw", name:"*"});it returns a blank array
when i try
dimObj.show({file:"mydrawing.drw", name:"d0", show: true});to show an existing dimension from the model from which i generated the drawing, it reports, the dimension does not exist.. and ofcourse the dimensions are visible in creo when i manually use the "show annotations" toolbar button.. sadly, theres no show annotations interface function in creoson dimension module... any suggestions / help is appreciated

