LoginSignup
1
0

More than 1 year has passed since last update.

Modelerデータ加工Tips#01コード

Last updated at Posted at 2021-02-25

Modelerデータ加工Tips#01 出題用サンプルコード

python
stream = modeler.script.stream()

node1 = stream.create("userinput", "Money")
node1.setXYPosition(100,100)
node1.setPropertyValue("names", ["money"])
node1.setKeyedPropertyValue("data", "money", "'1,458,200''778,800'")
node1.setKeyedPropertyValue("custom_storage", "money", "String")

node2 = stream.create("userinput", "Log")
node2.setXYPosition(100,300)
node2.setPropertyValue("names", ["Log"])
node2.setKeyedPropertyValue("data", "Log", "'931 INFO  [LmtpServer-99] ;mid=149083; mailop - Adding Message: id=191'")
node2.setKeyedPropertyValue("custom_storage", "Log", "String")

出題は以下

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0