special characters for triangle in journal (NXOpen API)
special characters for triangle in journal (NXOpen API)
(OP)
hi -
Does someone here know, if it is possible to use the unicode character: U+2206 for "Triangle or Increment" in a journal.
I'm writing some text in a tabular note with my journal - but I can't figure out, how to let the journal handle these special characters.
As an example I'm able to use Chr(34) as a quoate....But should it be possible to do something like this, also with a triangle or increment char like this: ∆
link to Unicode Character Search: Link
regards lklo
Does someone here know, if it is possible to use the unicode character: U+2206 for "Triangle or Increment" in a journal.
I'm writing some text in a tabular note with my journal - but I can't figure out, how to let the journal handle these special characters.
As an example I'm able to use Chr(34) as a quoate....But should it be possible to do something like this, also with a triangle or increment char like this: ∆
link to Unicode Character Search: Link
regards lklo





RE: special characters for triangle in journal (NXOpen API)
CODE --> vb.net
Option Strict Off Imports System Imports NXOpen Module NXJournal Sub Main (ByVal args() As String) Dim theSession As Session = Session.GetSession() Dim triangle As String = ChrW(8710) ''UTF8 32 Decimal msgbox(triangle) End Sub End ModuleRE: special characters for triangle in journal (NXOpen API)
thank you so much for your reply..
1.When output the string to a msgbox , it works perfectly.
2.But in my case I need the value in a tabNote and when I try to use the string as input string to the cell, the value from string is just treated as an hash: #
3. I also tried to output to NX listingwindow - in this case an error is raised...
please see attached zip file - containing 3 screenshots - one from each scenario....
Maybe you have some comment's on this....
In advance - thank you...
regards lklo
RE: special characters for triangle in journal (NXOpen API)
Tried using?
CODE --> vb.net
RE: special characters for triangle in journal (NXOpen API)
Thought using Dim triangle As String = ChrW(8710) ''UTF8 32 Decimal works for creating notes in drafting mode without causing exceptions.
RE: special characters for triangle in journal (NXOpen API)
thanks for your input...
I tried these in NX 8.5 - but still without succeeding....
Though I found out that a direct input of the triangle is possible....see attachment
But I need to be able to do it programmatically....
I will give it a try in NX 11....
lklo