Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number and Bullet text format in SW macro

Status
Not open for further replies.

CurlyDesign

Industrial
Aug 15, 2007
3
AU
I am writing a Solidworks text editing macro program to translate english into chinese.

The issue I have is establishing Number and Bullet formating of existing notes.

The follwoing line of code will 'Set' auto numbering.
<PARA indent=10 findent=-10 number=on ntype=1 nformat=$$. nstartNum=0>

eg. 1. This is a chinese character *

where * would be a chinese character.

I do not know how to 'Get' this information from a note?

Using the following line of code

swNote.SetText "This is a chinese character " & ChrW(23553)

on a note that had either number or bullets loses the formating and I don't know how to establish the original format?




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top