https://www.youtube.com/watch?v=KnsPGNaKsGk 

1. text area> action control/property control

2. property: Document / Table / Column

3. axis select > Set from Property

4. Column selection > default:False

5. action control > actions, export report, script, data functions

 

'파이썬 & 엑셀 > SPOTFIRE' 카테고리의 다른 글

[SPOTFIRE] Property Control  (0) 2022.05.10

https://www.youtube.com/watch?v=KnsPGNaKsGk 

Property에는 Document Properties, Table Properties, Column Properties 가 있음.

보통 Document를 쓰게 될 것. (File > Document Properties > Properties)

 

Properties에서 원하는 이름으로 생성 후,

Text Area에서 Insert Property Control (dropbox 등)

Set property value through: 에서는 원하는 column 선택할 수도 있고 column안의 value로 할 수도 있다.

Column Selection으로 했다면 select column에서 boolean type으로 true/false 로 보이고 안보이고 선택 가능.

(default를 false로하면 전부 선택 x. 그 후 원하는 column만 Add 해주면 된다)

저장해주면 dropbox 생성 확인.

 

1) 그래프에 적용

그래프의 axis 우클>Set from Property>생성한 property 선택하면 원하는 값으로 볼 수 있음.

2) Table에 적용

우클 > Properties > Data > Limit data using expression에서 설정.

ex. [myDateTime]=DocumentProperty("datetime") 

 

―――――――――――――――――――――――――――――――――――――――――――

추가

Table에 적용하는 방법 두번째.

위처럼 limit data를 쓰면 해당 chart에만 filtering 적용.

IronPython script를 쓰면 filtering scheme에 적용 -〉 해당 filtering scheme쓰는 chart 전체에 적용 가능.

 

'파이썬 & 엑셀 > SPOTFIRE' 카테고리의 다른 글

[SPOTFIRE]Property Controls and Action Controls  (0) 2022.06.29

+ Recent posts