Difference between revisions of "SysInfo Class"

From TouchDesigner Documentation
Jump to: navigation, search
(SysInfo Class Auto Create)
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TDClassSummary|summary=The SysInfo class describes current system information.  It can be accessed with the sysinfo object, found in the automatically imported td module.}}
+
{{TDClassSummary|label=SysInfo|summary=The SysInfo class describes current system information.  It can be accessed with the sysinfo object, found in the automatically imported [[td Module|td module]].}}
 
<section begin=HELPBODY />
 
<section begin=HELPBODY />
{{ClassMemberSection|empty=}}
+
{{ClassMemberSection|empty=
 +
|Sectionsummary=
 +
|items=
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=numCPUs
 +
    |type=int
 +
    |set=0
 +
    |text=The number of CPUs/cores on the system.
 +
}}
 
{{ClassMember
 
{{ClassMember
 
     |class=SysInfo
 
     |class=SysInfo
 
     |name=ram
 
     |name=ram
     |returns=
+
     |type=float
 
     |set=0
 
     |set=0
 
     |text=Amount of available RAM memory.
 
     |text=Amount of available RAM memory.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=numMonitors
 +
    |type=int
 +
    |set=0
 +
    |text=The number of monitors.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=xres
 +
    |type=int
 +
    |set=0
 +
    |text=The system's current monitor resolution width.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=yres
 +
    |type=int
 +
    |set=0
 +
    |text=The system's current monitor resolution height.
 +
}}
 +
{{ClassMember
 +
    |class=SysInfo
 +
    |name=tfs
 +
    |type=str
 +
    |set=0
 +
    |text=The path to the TFS directory.
 +
}}
 
}}
 
}}
{{ClassMethodSection|empty=True}}
+
{{ClassMethodSection|empty=True
 +
|Sectionsummary=
 +
|items=
 +
}}
 
<section end=HELPBODY />
 
<section end=HELPBODY />
<taggedhistory/>
+
{{History}}
 
+
{{#invoke:Category|list|Python Reference}}
{{{{#invoke:Category|list|Python Reference}}}}
 

Latest revision as of 15:19, 6 December 2019

The SysInfo class describes current system information. It can be accessed with the sysinfo object, found in the automatically imported td module.


Members

numCPUsint (Read Only):

The number of CPUs/cores on the system.

ramfloat (Read Only):

Amount of available RAM memory.

numMonitorsint (Read Only):

The number of monitors.

xresint (Read Only):

The system's current monitor resolution width.

yresint (Read Only):

The system's current monitor resolution height.

tfsstr (Read Only):

The path to the TFS directory.

Methods

No operator specific methods.


TouchDesigner Build: