cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Web.link creating parameter and counting notes

KB_9100625
5-Regular Member

Web.link creating parameter and counting notes

Hi all,

 

so I'm new to Web.link and trying to figure out how it works. is there a way to create a code that makes a parameter then have it count how many PTC_NOTE_TEXT there are and associate that with the parameter?

 

1 REPLY 1
sjuraj
15-Moonstone
(To:KB_9100625)

1. use pfcParameterOwner.CreateParam()

2. call pfcModelItemOwner.ListItems() with ModelItemType.ITEM_DTL_NOTE 

3. count notes with ModelItems.getarraysize ()

4. set value of parameter Parameter.SetValue ()

Announcements


Top Tags