Tabular Note format - Journal
Tabular Note format - Journal
(OP)
Hello,
Referring back to thread561-336107: Tabular Note Point Chart - Journal ; I am now trying to format the tabular note's Style within the Journal code. Currently when outputting the X/Y/Z coordinates of the points, it is including a comma for points that are in the thousands (as shown in attachment) and is listed as in "text" format. I am struggling to get the journal code to output these values without a comma, and ideally in a number format. Any ideas? Sorry if this is in the Help docs, I can't search them correctly now that Java has been updated.
Thank you.
Kyle
Referring back to thread561-336107: Tabular Note Point Chart - Journal ; I am now trying to format the tabular note's Style within the Journal code. Currently when outputting the X/Y/Z coordinates of the points, it is including a comma for points that are in the thousands (as shown in attachment) and is listed as in "text" format. I am struggling to get the journal code to output these values without a comma, and ideally in a number format. Any ideas? Sorry if this is in the Help docs, I can't search them correctly now that Java has been updated.
Thank you.
Kyle
--
CAD Detail and Designer II
NX 7.5, 8, and 8.5 with SmarTeam Integration.
CATIA V5 R20-R22





RE: Tabular Note format - Journal
Look for the lines of code that enter the point coordinates into the table, such as:
CODE
ufs.Tabnot.SetCellText(cell, FormatNumber(pt3d.X, 1).ToString())Try changing it to:
CODE
ufs.Tabnot.SetCellText(cell, FormatNumber(pt3d.X, 1,,,False).ToString())For more information about the FormatNumber function see:
http://msdn.microsoft.com/en-us/library/xfta99yt%2...
www.nxjournaling.com
RE: Tabular Note format - Journal
>Resolved
--
CAD Detail and Designer II
NX 7.5, 8, and 8.5 with SmarTeam Integration.
CATIA V5 R20-R22