Skip to main content
12-Amethyst
Jun 22, 2022 7:00 AM UTC
Question

Insert drawing note at specific location

Similar to this thread:

 

Did you figure out how to do this?

I am working on similar requirement,

Please let me know if you have figured it out.

 

Regards,

Prasad

3 replies

21-Topaz I
Jun 23, 2022 11:31 AM UTC

You need assistance in inserting a drawing note at a specific location. Can you offer more details on that specific location. Do you mean a coordinate based location ?

Drawing note can be inserted in various manners by default ? What a particular reasons these options don't addresses your expectations?

Translate
Prasad_G12-AmethystAuthor
12-Amethyst
Jul 4, 2022 10:37 AM UTC

Hi Remy,

 

Thanks for your reply

 

I want to enter notes at particular X and Y coods of drawing.

I tried to use the logic from examples (placed in "vbapi" folder of CREO) but the notes get placed at random location.

 

Regards,

Prasad 

Translate
21-Topaz I
Jul 4, 2022 12:11 PM UTC

Your reply enables me to understand that:

  • you need to create a Drawing note
  • the inputs are X and Y coordinate
  • your project is VB bound

Being more a Creo Toolkit (C) than a VB specialist, my answer will be Toolkit based and i'll let you do the refactoring.

One article you can look into is the following : https://www.ptc.com/en/support/article/cs238197 it will help you understand how to create a note. 

A second article will be of interest to you : https://www.ptc.com/en/support/article/cs205214 it will help you understand the window coordinate management.

More about screen coordinate here: https://www.ptc.com/en/support/article/cs250163 the VB code enables to place a table to specific coordinate

and also this one : https://www.ptc.com/en/support/article/cs300096

 

Tell me if any of the articles was helpful.

 

Translate