Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

help in place note in drawing use jlink

jruffsr

New member
I am trying to place a multi line note in a drawing using jlink. The
documentation is not clear to me and the examples do not address the
multi line aspect. Does any one have an example they would be williing
to share?

Thanks in advance

Jeff Ruff
 
Any body?



PTC has provided a example but it does not work where you do not know
how long the note is. The issue I currently having is the creation of
the DetailText_Create() statement.

dText = pfcDetail.DetailText_Create(tempString);

where

DetailText dText[] = new DetailText[numberOfLines];

String[] tempString = new String[numberOfLines];

list.toArray(tempString);



The progam fails at that line. Any help is appreciated.

Jeff Ruff
 

Sponsor

Articles From 3DCAD World

Back
Top