Skip to main content
12-Amethyst
June 22, 2022
Question

Insert drawing note at specific location

  • June 22, 2022
  • 1 reply
  • 1428 views

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

1 reply

21-Topaz I
June 23, 2022

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?

Prasad_G12-AmethystAuthor
12-Amethyst
July 4, 2022

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 

21-Topaz I
July 4, 2022

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.