AnsweredAssumed Answered

Adding Sketch Text to component in assembly with VBA.

Question asked by Evan Dlugopolski on Jun 3, 2016

Hello everyone,

 

I am having an issue with a macro I have created that is supposed to add sketch text to a selection point within a sketch.  The macro works great when I am working within a part document or using it within an assembly sketch.  However, when I try using it within edit component mode, the location where the text is inserted isnt correct (see pics below).  I am assuming it has something to do with which coordinate system the macro is using (ie it may be using the assembly coordinate system instead of the component part system).

 

If anyone know how to fix this I would be very grateful.

 

Thank you,

Evan

 

 

pastedImage_5.png

pastedImage_6.png

Outcomes