diff --git a/commands/helpcards.json b/commands/helpcards.json index b87e797..b95a3dc 100644 --- a/commands/helpcards.json +++ b/commands/helpcards.json @@ -11,8 +11,14 @@ "atan": "

atan

Returns the arc-tangent of the argument.

atan(number)

Examples

atan (1.73205)=60

Related

atan2
", "atan2": "

atan2

Returns the arc-tangent of y/x.

atan2(y, x)

This is more stable than atan since it\ncan use the signs of y and x to determine the quadrant the angle is in.\nIt also handles the case where x is zero correctly, returning 90 or -90.

Examples

atan2(1, 0) = 90
atan2(0, 1) = 0
atan2(0, -1) = 180
", "atof": "

atof

Converts a string to a float.

atof(source)
", + "attriblist": "

attriblist

Returns a space-separated list of attribute names.

attriblist(surface_node, class)

The class can be one of D_VERTEX,D_POINT, D_PRIMITIVE, or D_DETAIL\nfor the corresponding attribute class.

Related

pointattriblist
vertexattriblist
primattriblist
detailattriblist
", "bbox": "

bbox

Returns bounding box information for a surface node.

bbox(surface_node, type)

The type\ncan be one of D_XMIN, D_YMIN, D_ZMIN, D_XMAX, D_YMAX, D_ZMAX, D_XSIZE,\nD_YSIZE, or D_ZSIZE for the corresponding values of the bounding box.

Related

centroid
", "bezier": "

bezier

Channel segment function: Bezier interpoloation spline

bezier()

Related

spline
cubic
", + "bitand": "

bitand

Combines two numbers with bitwise-and.

bitand(abits, bbits)

Returns the abits and bbits combined with bitwise-and.

All operands are rounded to the nearest integer before processing.

Examples

bitand (0, 6) = 0
bitand (15, 6) = 6
", + "bitor": "

bitor

Combines two numbers with bitwise-or.

bitor(abits, bbits)

Returns the abits and bbits combined with bitwise-or.

All operands are rounded to the nearest integer before processing.

Examples

bitor (0, 6) = 6
bitor (15, 6) = 15
", + "bitset": "

bitset

Sets or clears a bit in a number.

bitset(number, bit_index, value)

Returns the provided number with the bit corresponding to bit_index being either set if value is not zero, or clear if value is zero.

All operands are rounded to the nearest integer before processing.

Bit 0 corresponds to the rightmost bit. Negative bit indices, or bit indices over 63, will return the number unchanged.

Examples

bitset (0, 3, 1) = 8
bitset (15, 3, 0) = 7
", + "bittest": "

bittest

Returns if a given bit is set.

bittest(number, bit_index)

Returns 1 if the given bit is set in the provided number.

The number is rounded to the nearest integer before testing. Bit 0 corresponds to the rightmost bit. Negative bit indices, or bit indices over 63, will always return 0.

Examples

bittest (8, 3) = 1
bittest (8, 1) = 0
", + "bitxor": "

bitxor

Combines two numbers with bitwise-xor.

bitxor(abits, bbits)

Returns the abits and bbits combined with bitwise-or.

All operands are rounded to the nearest integer before processing.

Examples

bitxor (0, 6) = 6
bitxor (15, 6) = 9
", "boneangle": "

boneangle

Returns the angle at the joint between two bone objects.

boneangle(bone1, bone2)
", "ceil": "

ceil

Returns the smallest integer not less than the value passed in.

ceil()

Related

floor
round
int
trunc
frac
", "centroid": "

centroid

Returns centroid information for a surface node.

centroid(surface_node, type)

The type should\nbe one of D_X, D_Y, or D_Z for the corresponding components of the\ncentroid.

centroid(\"../sphere1\", D_X)centroid(\"../sphere1\", D_Y)centroid(\"../sphere1\", D_Z)

Note

The centroid is the center of the bounding box of the points, not the average position of the points.

Related

bbox
prim
", @@ -37,9 +43,9 @@ "chops": "

chops

Returns the start index of a CHOP.

chops(CHOP)

Examples

chops(\"/ch/ch1/wave1\")

Related

chops
chope
chopl
chopn
chopr
", "chopstr": "

chopstr

Returns the string value of a channel within a CHOP at the current time.

chopstr(channel)

Examples

chopstr(\"/ch/ch1/wave1/chan1\")

Related

chop
chopf
chopt
chopi
", "chopt": "

chopt

Returns the value of a channel within a CHOP at a specified time.

chopt(channel, time)

Examples

chopt(\"/ch/ch1/wave1/chan1\", 0.5)

Related

chopct
chopi
chopf
chopt
", - "chramp": "

chramp

Returns the value of a ramp parameter at a specific position.

chramp(ramp_path, position, component_index)

position must be a value from 0 to 1.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return the second component of the evaluated ramp value at a position of 0.33:

chramp(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1)

Related

chrampf
chrampt
ch
", - "chrampf": "

chrampf

Returns the value of a ramp parameter at a specific position and frame.

chrampf(ramp_path, position, component_index, frame)

position must be a value from 0 to 1.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return second component of the evaluated ramp value at a position of 0.33 at frame 289:

chrampf(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1, 289)

Related

chramp
chrampt
ch
", - "chrampt": "

chrampt

Returns the value of a ramp parameter at a specific position and time.

chrampf(ramp_path, position, component_index, time)

position must be a value from 0 to 1.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return second component of the evaluated ramp value at a position of 0.33 at 12 seconds into the scene:

chrampf(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1, 12)

Related

chramp
chrampf
ch
", + "chramp": "

chramp

Returns the value of a ramp parameter at a specific position.

chramp(ramp_path, position, component_index)

When position is outside of the interval [0, 1), it will be first wrapped\naround into such an interval before being used.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return the second component of the evaluated ramp value at a position of 0.33:

chramp(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1)

Related

chrampf
chrampt
ch
", + "chrampf": "

chrampf

Returns the value of a ramp parameter at a specific position and frame.

chrampf(ramp_path, position, component_index, frame)

When position is outside of the interval [0, 1), it will be first wrapped\naround into such an interval before being used.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return second component of the evaluated ramp value at a position of 0.33 at frame 289:

chrampf(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1, 289)

Related

chramp
chrampt
ch
", + "chrampt": "

chrampt

Returns the value of a ramp parameter at a specific position and time.

chrampf(ramp_path, position, component_index, time)

When position is outside of the interval [0, 1), it will be first wrapped\naround into such an interval before being used.

component_index is the component of the evaluated value to return. For\ncolor ramps, it must be either 0, 1, or 2. For single-valued ramps,\ncomponent_index must be 0.

Examples

Return second component of the evaluated ramp value at a position of 0.33 at 12 seconds into the scene:

chrampf(\"/obj/geo1/popnet1/color1/rampcolor\", 0.33, 1, 12)

Related

chramp
chrampf
ch
", "chs": "

chs

Evaluates the string value of a parameter at the current time.

chs(channel)

This is useful for evaluating\nfilenames in parameters. The string will be expanded automatically.

Related

ch
chf
cht
chsop
chsraw
", "chsop": "

chsop

Evaluates the parameter at the current time as a node path string.

chsop(\"path\")

Assumes the given parameter contains a node path, and automatically takes care of things like bundles and relative paths, returning a string containing an absolute path or a space-separated list of absolute paths.

For example, to get the Object node path used by the object_merge1 node:

chsop(\"../object_merge1/object1\")

Related

ch
chf
chs
chsoplist
chsraw
cht
", "chsoplist": "

chsoplist

Evaluates the parameter at the current time as a node path list string.

chsoplist(\"path\")

Assumes the given parameter contains a list of node paths, and automatically takes care of things like bundles and relative paths, returning a string containing an absolute path or a space-separated list of absolute paths. It can also expand adhoc bundle strings like /obj/null*.

For example, to get the Object node path used by the object_merge1 node:

chsoplist(\"../object_merge1/object1\")

Related

ch
chf
chsop
chs
chsraw
cht
oplistsort
", @@ -72,12 +78,13 @@ "decodeparm": "

decodeparm

Decodes a node parameter name that was previously encoded.

decodeparm(s)

Houdini parameter names are only allowed to contain letters, numbers, hash\ncharacters (for multiparms), and underscores, and must not begin with a\nnumber. Arbitrary strings can be passed through the encodeparm method to\ngenerate a string that obeys these restriction. This method takes one of these\nencoded strings, and returns the original string. A string that has not been\nencoded will be returned unmodified.

Related

encodeparm
", "deg": "

deg

Converts from radians to degrees.

deg(radians)
", "degree": "

degree

Returns the degree a specified face or hull.

degree(surface_node, prim_num, D_U|D_V)

Polygons and meshes are expressed as\nlinear functions, so their degree is 1. Spline types \u2013 NURBS and Bezier\ncurves and surfaces \u2013 have degrees ranging from 1 to 10.

Note

If the primitive is a polygon or a curve, D_U and D_V are\n irrelevant.

", - "detail": "

detail

Returns the value of a detail attribute.

detail(surface_node, attrib_name, attrib_index)

Tip

This expression may not work if surface_node is the currently cooking node.\n Try specifying an upstream node.

This can also be used to read the value of a detail intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Examples

detail(\"/obj/geo1/attribpromote1\", \"area\", 0)

Returns the total area of the geometry, if the geometry had first\nbeen measured and then AttribPromote had promoted the area primitive\nattribute to a detail attribute with Sum as the promotion method.

", + "detail": "

detail

Returns the value of a detail attribute.

detail(surface_node, attrib_name, attrib_index)

Tip

This expression may not work if surface_node is the currently cooking node.\n Try specifying an upstream node.

This can also be used to read the value of a detail intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

detail(\"/obj/geo1/attribpromote1\", \"area\", 0)

Returns the total area of the geometry, if the geometry had first\nbeen measured and then AttribPromote had promoted the area primitive\nattribute to a detail attribute with Sum as the promotion method.

", + "detailattriblist": "

detailattriblist

Returns a space-separated list of detail attribute names.

detailattriblist(surface_node)

Related

pointattriblist
vertexattriblist
primattriblist
attriblist
", "detailattribsize": "

detailattribsize

Returns the number of components in a detail attribute.

detailattribsize(surface_node, attribute)

If the surface node or attribute is not found, returns 0.

Examples

detailattribsize( \"/obj/model/capture\", \"pCaptData\" )

Returns the number of elements in a \"pCaptData\" attribute.

Related

detail
pointattribsize
vertexattribsize
primattribsize
", - "detailattribtype": "

detailattribtype

Returns the type of a detail attribute.

detailattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String

Examples

detailattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

detail
pointattribtype
vertexattribtype
primattribtype
", - "details": "

details

Returns the string value of a detail attribute.

details(surface_node, attribute)

This can also be used to read the value of a detail intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Examples

details(\"/obj/geo1/attribcreate1\", \"varmap\")

Returns the currently bound index attribute\u2019s value.

", + "detailattribtype": "

detailattribtype

Returns the type of a detail attribute.

detailattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String
3 - Array of integers
4 - Array of floats
5 - Array of strings
6 - Dictionary
7 - Array of dictionaries

Examples

detailattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

detail
pointattribtype
vertexattribtype
primattribtype
", + "details": "

details

Returns the string value of a detail attribute.

details(surface_node, attribute)

This can also be used to read the value of a detail intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

details(\"/obj/geo1/attribcreate1\", \"varmap\")

Returns the currently bound index attribute\u2019s value.

", "detailsmap": "

detailsmap

Returns a string from a list of strings in a detail attribute.

detailsmap(surface_node, attribute, index)

This function will return the indexth unique string bound to the given\ndetail attribute. Use detailsnummap to find the total number of unique\nstrings. Note that the exact order of the strings should not be\nrelied upon. The indexes start with 0 and go to detailsnummap()-1.

Examples

detailsmap(\"/obj/geo1/attribcreate1\", \"varmap\", 0)

Returns the first variable mappings on the given surface node.

", - "detailsnummap": "

detailsnummap

Returns the number of unique stings bound to a detail attribute.

detailsnummap(surface_node, attribute)

Use detailsmap to extract the strings.

Examples

detailsnummap(\"/obj/geo1/attribcreate1\", \"varmap\")

Returns number of variable mappings on the given surface node.

", + "detailsnummap": "

detailsnummap

Returns the number of unique strings bound to a detail attribute.

detailsnummap(surface_node, attribute)

Use detailsmap to extract the strings.

Examples

detailsnummap(\"/obj/geo1/attribcreate1\", \"varmap\")

Returns number of variable mappings on the given surface node.

", "determinant": "

determinant

Returns the determinant of a matrix.

determinant(mat)

This is only valid for a 4\u00d74 or 3\u00d73 matrix.\nIf the matrix is larger than 4\u00d74, the\n4\u00d74 determinant will be returned. If the matrix is smaller than 3\u00d73, the\nmatrix will be converted to a 3\u00d73 before the determinant is computed.\nThe results of the upward conversion are not guaranteed.

", "dihedral": "

dihedral

Computes the dihedral matrix between vectors v0 and v1.

dihedral(v0, v1)

This returns a rotation matrix which will rotate vector v0 to vector v1.

", "distance": "

distance

Returns the distance between two 3D points.

distance(x1, y1, z1, x2, y2, z2)

A.K.A. sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2).

Related

pointdist
uvdist
", @@ -127,8 +134,8 @@ "easeout": "

easeout

Channel segment function: ease-out

easeout()

Slowly eases out of any change and comes to rest.

Related

easeoutp
ease
easein
", "easeoutp": "

easeoutp

Channel segment function: ease-out with configurable acceleration.

easeoutp(number)

Similar to the easeinp\nexpression only reversed. The change starts rapidly and begins to slow\nuntil it comes to rest. The number determines the speed (i.e., the\nrate of channel change) at the beginning of the segment. A large value\ndefines a high speed.

Examples

easeoutp( 3 )

Eases out of a fairly high initial speed.

Related

easeout
easep
easeinp
", "easep": "

easep

Channel segment function: ease-in and -out with configurable acceleration.

easep(number)

This is a channel expression function which will gradually ease in to\nthe motion and gradually ease out. The number controls how fast to\nease in or out. Mathematically, this argument determines the inflection\npoint of the curve. Increasing the number will shift the inflection\npoint to the right, while fractional numbers will towards zero will\nshift the inflection point to the right.

Examples

easep( 3 )

Eases in slowly and eases out quickly.

easep( 0.4 )

Eases in quickly and eases out slowly.

Related

ease
easeinp
easeoutp
", - "edgegrouplist": "

edgegrouplist

Returns the list of edge groups in a surface node.

edgegrouplist(surface_node)

The returned string is a space separated list of group names.

To get a list of groups whose names match a pattern, use\nedgegroupmask.

Related

primgrouplist
pointgrouplist
edgegroupmask
", - "edgegroupmask": "

edgegroupmask

Returns the list of edge groups matching a pattern in a surface node.

edgegroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all edge groups (no pattern),\nuse edgegrouplist.

Examples

edgegroupmask(\"/obj/model\", \"group*\")

Returns the names of all edge groups in the specified surface node which\n start with \"group\". So this may be something like \"group1 group2\n group_smoke\".

Related

primgroupmask
pointgroupmask
edgegrouplist
", + "edgegrouplist": "

edgegrouplist

Returns the list of edge groups in a surface node.

edgegrouplist(surface_node)

The returned string is a space separated list of group names.

To get a list of groups whose names match a pattern, use\nedgegroupmask.

Related

primgrouplist
pointgrouplist
vertexgrouplist
edgegroupmask
", + "edgegroupmask": "

edgegroupmask

Returns the list of edge groups matching a pattern in a surface node.

edgegroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all edge groups (no pattern),\nuse edgegrouplist.

Examples

edgegroupmask(\"/obj/model\", \"group*\")

Returns the names of all edge groups in the specified surface node which\n start with \"group\". So this may be something like \"group1 group2\n group_smoke\".

Related

primgroupmask
pointgroupmask
vertexgroupmask
edgegrouplist
", "encode": "

encode

Encodes any string into a valid variable name.

encode(s)

Houdini VEX variable names are only allowed to contain letters, numbers, and\nunderscores, and must not begin with a number. This method takes any string,\nand encodes it into a string that obeys these restrictions. The original\nstring can be recovered using the decode method. A string that already\nobeys the rules is returned unmodified.

One exception to this rule is that a string starting with xn__ will be\nencoded even if it is already a valid variable name. This is because xn__\nis the prefix used to identify an encoded string. In this case, an additional\nxn__ prefix will be added. This means a string can be encoded any number of\ntimes, then decoded the same number of times to always return to the original\nstring, regardless of its contents.

Related

decode
", "encodeattrib": "

encodeattrib

Encodes any string into a valid geometry attribute name.

encodeattrib(s)

Houdini geometry attributes and group names are only allowed to contain\nletters, numbers, and underscores, and must not begin with a number. This\nmethod takes any string, and encodes it into a string that obeys these\nrestrictions. The original string can be recovered using the decodeattrib\nmethod. A string that already obeys the rules is returned unmodified.

One exception to this rule is that a string starting with xn__ will be\nencoded even if it is already a valid attribute name. This is because xn__\nis the prefix used to identify an encoded string. In this case, an additional\nxn__ prefix will be added. This means a string can be encoded any number of\ntimes, then decoded the same number of times to always return to the original\nstring, regardless of its contents.

Related

decodeattrib
", "encodeparm": "

encodeparm

Encodes any string into a valid node parameter name.

encodeparm(s)

Houdini parameter names are only allowed to contain letters, numbers, hash\ncharacters (for multiparms), and underscores, and must not begin with a\nnumber. This method takes any string, and encodes it into a string that obeys\nthese restrictions. The original string can be recovered using the\ndecodeparm method. A string that already obeys the rules is returned\nunmodified.

One exception to this rule is that a string starting with xn__ will be\nencoded even if it is already a valid parameter name. This is because xn__\nis the prefix used to identify an encoded string. In this case, an additional\nxn__ prefix will be added. This means a string can be encoded any number of\ntimes, then decoded the same number of times to always return to the original\nstring, regardless of its contents.

Related

decodeparm
", @@ -154,7 +161,8 @@ "groupbyval": "

groupbyval

Returns a string describing the set of elements with a given value for an integer attribute.

groupbyval(surface_node, class, attribute, id)

The class can be one of D_VERTEX,D_POINT, D_PRIMITIVE, or D_DETAIL for the corresponding attribute class.

Examples

groupbyval(\"/obj/geo1/facet1\", D_PRIMITIVE, \"piece\", 1)

Returns a string describing the set of primitives with a value of 1\n for the piece attribute in the facet1 surface node in geo1.

", "groupbyvals": "

groupbyvals

Returns a string describing the set of elements with a given value for a string attribute.

groupbyvals(surface_node, class, attribute, id)

The class can be one of D_VERTEX, D_POINT, D_PRIMITIVE, or D_DETAIL for the corresponding attribute class.

Examples

groupbyvals(\"/obj/geo1/facet1\", D_PRIMITIVE, \"name\", \"piece1\")

Returns a string describing the set of primitives with a value of piece1\n for the name attribute in the facet1 surface node in geo1.

", "hascontextoption": "

hascontextoption

Returns a non-zero value if the specified context option exists.

hascontextoption(token)

Checks if the provided context option exists in the current cook context. This\nvalue may have been set by a node requesting data from another node, or it may\nbe set as a global default context option stored in the hip file.

This function just tests if the context option exists. To get the value of the\ncontext option use contextoption or contextoptions.

token: the name of the option to check.
", - "hasdetailattrib": "

hasdetailattrib

Returns 1 if a specified detail attribute exists.

hasdetailattrib(surface_node, attribute)
", + "hasdetailattrib": "

hasdetailattrib

Returns 1 if a specified detail attribute exists.

hasdetailattrib(surface_node, attribute)

This can also be used to determine if a key exists in a detail-level\ndictionary attribute. \"param.key\" will return 1 if key is in\nthe param dictionary attribute.

", + "haspdgattrib": "

haspdgattrib

Returns 1 if the active PDG work item has the specified attribute.

haspdgattrib(attribute)

Related

pdgattrib
pdgattribs
pdgattribsize
pdgattribtype
", "haspoint": "

haspoint

Returns 1 if a specified point is in a specified group.

haspoint(group_name, surface_node, point_num)

The function will return 0 if the group is a primitive group.

Examples

haspoint(\"ears\", \"/obj/geo1/facet1\", 4)

Returns 1 if the group \"ears\" contains point number 4, otherwise\n returns 0.

Related

hasprim
pointlist
primlist
", "haspointattrib": "

haspointattrib

Returns 1 if a specified point attribute exists.

haspointattrib(surface_node, attribute)
", "hasprim": "

hasprim

Returns 1 if a specified primitive is in a specified group.

hasprim(group_name, surface_node, prim_num)

The function will return 0 if the group is a point group.

Examples

hasprim(\"ears\", \"/obj/geo1/facet1\", 3)

Returns 1 if the group \"ears\" contains primitive number 3, otherwise\n returns 0.

Related

haspoint
pointlist
primlist
", @@ -235,6 +243,7 @@ "objlookat": "

objlookat

Computes the rotation vector\nof a lookat from one object to another.

objlookat(base_node, target_node, upv)

Examples

objlookat(\"/obj/null1\",\"/obj/null2\",vector3(0,1,0))[0]

Returns the rotation parameter for Rx to get null1 to look at null2

", "objpretransform": "

objpretransform

Returns an object\u2019s pre-transform matrix.

objpretransform(object_name)

Examples

objpretransform(\"/obj/bone1\")

Returns the pretransform matrix for /obj/bone1.

", "oc": "

oc

Returns the value of a CHOP\u2019s output at a specific sample index.

oc(output_channel_index, index)

Examples

oc(0, 10)

Related

ics
ic
ice
icr
icn
icmin
icmax
icl
oc
", + "ocldeviceinfo": "

ocldeviceinfo

Queries the current OpenCL device with the provided flag

ocldeviceinfo(flag)

flag is a string containing the name of the device flag.

This function queries the current OpenCL device and returns the numeric value\nof the specified flag. Internally this function calls the OpenCL clGetDeviceInfo\nfunction; the available flags are described in\nthe OpenCL documentation.

Some useful flags include:

CL_DEVICE_TYPE which returns 2 for a CPU device and 4 for a GPU device.
CL_DEVICE_GLOBAL_MEM_SIZE and CL_DEVICE_MAX_MEM_ALLOC_SIZE which return\nthe total memory and largest single allocation that can be made on a device, respectively.
CL_DEVICE_DEVICE_ENQUEUE_SUPPORT which indicates the device supports\ndevice-side enqueuing\nof kernels.

The full list of flags supported is as follows:

CL_DEVICE_TYPECL_DEVICE_VENDOR_IDCL_DEVICE_MAX_COMPUTE_UNITSCL_DEVICE_MAX_WORK_ITEM_DIMENSIONSCL_DEVICE_MAX_WORK_GROUP_SIZECL_DEVICE_PREFERRED_VECTOR_WIDTH_CHARCL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORTCL_DEVICE_PREFERRED_VECTOR_WIDTH_INTCL_DEVICE_PREFERRED_VECTOR_WIDTH_LONGCL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOATCL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLECL_DEVICE_MAX_CLOCK_FREQUENCYCL_DEVICE_ADDRESS_BITSCL_DEVICE_MAX_READ_IMAGE_ARGSCL_DEVICE_MAX_WRITE_IMAGE_ARGSCL_DEVICE_MAX_MEM_ALLOC_SIZECL_DEVICE_IMAGE2D_MAX_WIDTHCL_DEVICE_IMAGE2D_MAX_HEIGHTCL_DEVICE_IMAGE3D_MAX_WIDTHCL_DEVICE_IMAGE3D_MAX_HEIGHTCL_DEVICE_IMAGE3D_MAX_DEPTHCL_DEVICE_IMAGE_SUPPORTCL_DEVICE_MAX_PARAMETER_SIZECL_DEVICE_MAX_SAMPLERSCL_DEVICE_MEM_BASE_ADDR_ALIGNCL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZECL_DEVICE_SINGLE_FP_CONFIGCL_DEVICE_GLOBAL_MEM_CACHE_TYPECL_DEVICE_GLOBAL_MEM_CACHELINE_SIZECL_DEVICE_GLOBAL_MEM_CACHE_SIZECL_DEVICE_GLOBAL_MEM_SIZECL_DEVICE_MAX_CONSTANT_BUFFER_SIZECL_DEVICE_MAX_CONSTANT_ARGSCL_DEVICE_LOCAL_MEM_TYPECL_DEVICE_LOCAL_MEM_SIZECL_DEVICE_ERROR_CORRECTION_SUPPORTCL_DEVICE_PROFILING_TIMER_RESOLUTIONCL_DEVICE_ENDIAN_LITTLECL_DEVICE_AVAILABLECL_DEVICE_COMPILER_AVAILABLECL_DEVICE_PREFERRED_VECTOR_WIDTH_HALFCL_DEVICE_NATIVE_VECTOR_WIDTH_CHARCL_DEVICE_NATIVE_VECTOR_WIDTH_SHORTCL_DEVICE_NATIVE_VECTOR_WIDTH_INTCL_DEVICE_NATIVE_VECTOR_WIDTH_LONGCL_DEVICE_NATIVE_VECTOR_WIDTH_FLOATCL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLECL_DEVICE_NATIVE_VECTOR_WIDTH_HALFCL_DEVICE_HOST_UNIFIED_MEMORYCL_DEVICE_LINKER_AVAILABLECL_DEVICE_IMAGE_MAX_BUFFER_SIZECL_DEVICE_IMAGE_MAX_ARRAY_SIZECL_DEVICE_PARTITION_MAX_SUB_DEVICESCL_DEVICE_REFERENCE_COUNTCL_DEVICE_PREFERRED_INTEROP_USER_SYNCCL_DEVICE_PRINTF_BUFFER_SIZECL_DEVICE_IMAGE_PITCH_ALIGNMENTCL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENTCL_DEVICE_MAX_READ_WRITE_IMAGE_ARGSCL_DEVICE_MAX_GLOBAL_VARIABLE_SIZECL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZECL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZECL_DEVICE_MAX_ON_DEVICE_QUEUESCL_DEVICE_MAX_ON_DEVICE_EVENTSCL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZECL_DEVICE_MAX_PIPE_ARGSCL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONSCL_DEVICE_PIPE_MAX_PACKET_SIZECL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENTCL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENTCL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENTCL_DEVICE_NUMERIC_VERSIONCL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORTCL_DEVICE_PREFERRED_WORK_GROUP_SIZE_MULTIPLECL_DEVICE_WORK_GROUP_COLLECTIVE_FUNCTIONS_SUPPORTCL_DEVICE_GENERIC_ADDRESS_SPACE_SUPPORTCL_DEVICE_DEVICE_ENQUEUE_SUPPORTCL_DEVICE_PIPE_SUPPORT
", "oldrand": "

oldrand

Returns a pseudo-random number between 0 and 1.

oldrand(value)

Using the same value will give the same result each time. A\ndifferent number is returned if fractional values are different.

Note

It is a good idea to use non-integer values as the argument to\n oldrand(). This function is similar to rand() but uses a different\n algorithm for generating the random numbers.

Examples

oldrand(12.1) gives a different result than oldrand(12.2)

Related

rand
", "opblist": "

opblist

Returns the full paths of all operators in a bundle.

opblist(bundle_name)

Returns a string containing a space separated list of paths.

", "opcreator": "

opcreator

Returns the creator of this node.

opcreator(name)

Examples

opcreator(\"/obj/geo1/line1\")

Returns /obj/geo1, indicating that object geo1 is the creator network for line1.

Related

optypeinfo
", @@ -254,6 +263,7 @@ "opname": "

opname

Returns the name of a node given its path.

opname(name)

This is useful to find out the name of the network containing the node,\ne.g. opname(\"..\") will return the name of the network containing the\ncurrent node.

Related

opfullpath
opsubpath
oprelativepath
", "opnchildren": "

opnchildren

Returns the number of nodes inside a container node.

opnchildren(name)

This will return the number of nodes in a subnetwork or the number of surface\nnodes in an Geometry container object.

The count is non-recursive: it only counts the direct contents of the node,\nnot of the sub-nodes as well.

", "opninputs": "

opninputs

Returns the maximum number of connected inputs.

opninputs(name)

Returns the number of the highest connected input. This is not the number of\nconnected inputs. If a node has four inputs and the fourth input is connected,\nopninputs will return 4. If the first and third inputs are connected,\nopninputs will return 3.

Related

opinput
opoutput
opnoutputs
", + "opnodigits": "

opnodigits

Returns the alphanumeric prefix of a node name eliminating trailing digits.

opnodigits(name)

This function will return the numeric value of the last set of\nconsecutive digits in a node\u2019s name.

Examples

opnodigits(\"/obj/geo1\") = /obj/geo
opdigits(\".\") = /obj/geo
", "opnoutputs": "

opnoutputs

Returns the number of nodes connected to a node\u2019s output.

opnoutputs(name)

Related

opinput
opoutput
opninputs
", "opoutput": "

opoutput

Returns the name of a node connected a given node\u2019s output.

opoutput(name, index)

Multiple operators may be connected to a node\u2019s output\nand the index ordering is arbitrary.

Related

opinput
opinputpath
opninputs
opoutputpath
opnoutputs
", "opoutputpath": "

opoutputpath

Returns the full path of a node connected a given node\u2019s output.

opoutputpath(name, index)

Multiple operators may be connected to a node\u2019s output\nand the index ordering is arbitrary.

Related

opinput
opinputpath
opninputs
opoutput
opnoutputs
", @@ -275,37 +285,49 @@ "padzero": "

padzero

Returns a string padding a number to a given length with zeros.

padzero(size, value)

Returns a string containing value preceded by enough zeros to make up\nsize digits.

Examples

padzero(5, 126) = 00126
padzero(5, 23) = 00023
padzero(1, 23) = 23
", "param": "

param

Deprecated: use stamp instead.

param(token, value)

This function is now obsolete, please use stamp instead. A\nwarning will be generated if used.

Related

stamp
", "parmisstring": "

parmisstring

Returns 1 if a specified parameter is a string.

parmisstring(parameter_name)

Examples

echo `parmisstring(\"/obj/model/lookatpath\")`
", - "pdgattribute": "

pdgattribute

Returns the value of a work item attribute

pdgattribute(name, index)

name is the name of the attribute

index is the component index of the attribute

Note

This function is equivalent to doing @name.index, but makes it\n easier to programtically select the attribute name or index.

Examples

pdgattribute(\"pdg_frame\", 0)

Returns the frame value of the current work item - equivalent to @pdg_frame

pdgattribute(\"color\", 2)

Returns the second component of the \"color\" attribute.

Related

pdgattributes
", - "pdgattributes": "

pdgattributes

Returns the string value of a work item attribute

pdgattributes(name, index)

name is the name of the attribute

index is the component index of the attribute

Note

This function is equivalent to doing @name.index, but makes it\n easier to programtically select the attribute name or index.

Examples

pdgattributes(\"pdg_input\", 0)

Returns the first input file on the active work item. This is equivalent to using\n@pdg_input.

pdgattributes(\"filenames\", 2)

Returns the second component of the \"filenames\" attribute.

Related

pdgattribute
", + "pdgattrib": "

pdgattrib

Returns the value of a PDG work item attrib

pdgattrib(name, index)

name is the name of the attribute

index is the component index of the attribute

Note

This function is equivalent to doing @name.index, but makes it\n easier to programtically select the attribute name or index.

Examples

pdgattrib(\"pdg_frame\", 0)

Returns the frame value of the current work item - equivalent to @pdg_frame

pdgattrib(\"color\", 2)

Returns the second component of the \"color\" attribute.

Related

pdgattribs
pdgattribvals
", + "pdgattriblist": "

pdgattriblist

Returns a space-separated list of attribute names on the active PDG work item.

pdgattriblist()

Related

pdgattrib
pdgattribs
pdgattribsize
", + "pdgattribs": "

pdgattribs

Returns the string value of a PDG work item attribute

pdgattribs(name, index)

name is the name of the attribute

index is the component index of the attribute

Note

This function is equivalent to doing @name.index, but makes it\n easier to programtically select the attribute name or index.

Examples

pdgattribs(\"pdg_input\", 0)

Returns the first input file on the active work item. This is equivalent to using\n@pdg_input.

pdgattribs(\"filenames\", 2)

Returns the second component of the \"filenames\" attribute.

Related

pdgattrib
pdgattribvals
", + "pdgattribsize": "

pdgattribsize

Returns the number of components in a PDG work item attribute.

pdgattribsize(attribute)

If there is no active work item or the attribute is not found on the work item, returns 0

Examples

pdgattribsize( \"position\" )

Returns the size of the \"position\" attribute on the active work item

Related

pdgattrib
pdgattribtype
", + "pdgattribtype": "

pdgattribtype

Returns the type of a PDG work item attribute.

pdgattribtype(attribute)

If there is no active work item or the attribute does not exist, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer Array
1 - Float Array
2 - String Array
3 - File Array
4 - Python Object
5 - Geometry Data

Examples

pdgattribtype( \"wedgeindex\" )

Returns 0, which indicates that the attribute is an integer.

Related

pdgattrib
pdgattribsize
", + "pdgattribute": "

pdgattribute

Deprecated: replaced by pdgattrib.

pdgattribute(name, index)

Use pdgattrib instead.

", + "pdgattributes": "

pdgattributes

Deprecated: replaced by pdgattribs.

pdgattributes(name, index)

Use pdgattribs instead.

", + "pdgattribvals": "

pdgattribvals

Returns the space separated list of values for a PDG work item attribute

pdgattribvals(name)

name is the name of the attribute

Note

This function works for any type of attribute. Integer and float values will be converted to string. If any of the attribute values are strings with spaces in them, the string values will be wrapped in quotes automatically.

Examples

pdgattribvals(\"image_files\")

Returns the space separated list of values in the image_files attribute. For example: image1.png image2.png \"image with space.png\".

pdgattribvals(\"wedgevalues\")

Example evaluation: 0.5 10 20.

Related

pdgattrib
pdgattribs
", "pdginput": "

pdginput

Returns a work item input file for the specified file index and tag

pdginput(index, tag, localize)

index the input file number, from the list of files on the active work item

tag the tag, which can be set to empty string if unspecified

localize set to 1 to indicate that the input file path should have PDG\n directory tokens resolved.

This function looks up an input file from the active work item. The file tag can be used to filter input files, for example by passing in \"file/geo\" to eliminate files that aren\u2019t geometry. The index parameter determines which file path to return if there are multiple valid input files, starting from 0. When a tag is specified the index is applied after filtering the files by the tag.

Note

This function is a more generalized version of the @pdg_input attribute.

Examples

pdginput(1, \"file/image\", 0)

Returns the input image file with index 1, from the list of input files on the active work item.

Related

pdgoutput
", + "pdginputsize": "

pdginputsize

Returns the number of input files on the active PDG work item

pdginputsize(tag)

tag the tag, which can be set to empty string if unspecified

This function returns the number of input files to the active work item, with the specified file tag.

Examples

pdginputsize(\"file/geo\")

Returns the number of input geometry files.

Related

pdginput
pdgoutput
pdgoutputsize
", + "pdginputvals": "

pdginputvals

Returns a space separated string of all work item input files for the specified tag

pdginputvals(tag, localize)

tag the tag, which can be set to empty string if unspecified

localize set to 1 to indicate that the input file path should have PDG\n directory tokens resolved.

This function looks up all input files from the active work item with the specified file tag. If any of the file paths have spaces in them, they are put in quotes automatically in the output string.

Examples

pdginputvals(\"file/image\", 0)

Returns all input image file paths. For example: image1.png image2.png \"image with space\".png

Related

pdginput
pdgoutput
", "pdgoutput": "

pdgoutput

Returns a work item output file for the specified file index and tag

pdgoutput(index, tag, localize)

index the output file index

tag the tag, which can be set to empty string if unspecified

localize set to 1 to indicate that the input file path should have PDG\n directory tokens resolved.

Note

This function is a more generalized version of the @pdg_output attribute.

This function looks up an output file from the active work item. The file tag can be used to filter output files, for example by passing in \"file/geo\" to eliminate files that aren\u2019t geometry. The index parameter determines which file path to return if there are multiple valid files, starting from 0. When a tag is specified the index is applied after filtering the files by the tag.

Examples

pdgoutput(1, \"\", 0)

Returns the second output file from the active work item, equivalent to @pdg_output.1.

Related

pdginput
", + "pdgoutputsize": "

pdgoutputsize

Returns the number of output files on the active PDG work item

pdgoutputsize(tag)

tag the tag, which can be set to empty string if unspecified

This function returns the number of output files from the active work item, with the specified file tag.

Examples

pdgoutputsize(\"file/image\")

Returns the number of output image files.

Related

pdginput
pdginputsize
pdgoutput
", + "pdgoutputvals": "

pdgoutputvals

Returns a space separated string of all work item output files for the specified tag

pdgoutputvals(tag, localize)

tag the tag, which can be set to empty string if unspecified

localize set to 1 to indicate that the input file path should have PDG\n directory tokens resolved.

This function looks up all output files from the active work item with the specified file tag. If any of the file paths have spaces in them, they are put in quotes automatically in the output string.

Examples

pdgoutputvals(\"file/geo\", 0)

Returns all output geometry file paths. For example: ropfetch1.01.bgeo.sc ropfetch2.02.bgeo.sc.

Related

pdginput
pdgoutput
", "pic": "

pic

Returns the color of a pixel in a compositing node.

pic(copname, U, V, color_type)

The color_type parameter can be one of the\nfollowing: D_CR, D_CG, D_CB, D_CA, D_CHUE, D_CSAT, D_CVAL, D_CLUM for\nthe red, green, blue, alpha, hue, saturation, value, or luminance of the\npixel.

The color returned will be interpolated smoothly between adjacent\npixels. For the non-interpolated color, use picni.

Examples

pic(\"/img/img1/color1\", .5, .5, D_CLUM)

Related

picni
tex
texni
res
", "picni": "

picni

Returns the non-interpolated color of a pixel in a compositing node.

picni(copname, U, V, color_type)

The color_type parameter can be one of the\nfollowing: D_CR, D_CG, D_CB, D_CA, D_CHUE, D_CSAT, D_CVAL, D_CLUM for\nthe red, green, blue, alpha, hue, saturation, value, or luminance of the\npixel.

The color returned will not be interpolated. That is, it will be\nthe exact color of the pixel.\nFor the interpolated color, use pic.

Examples

picni(\"/img/img1/color1\", .5, .5, D_CLUM)

Related

pic
tex
texni
res
", "pluralize": "

pluralize

Converts an English noun to its plural.

pluralize(s)
", - "point": "

point

Returns the value of a point attribute.

point(surface_node, point_number, attribute, index)

surface_node is a path to a surface node, for example \"/obj/geo1/grid1\".

point_number is the point number to read the attribute from.\n When instancing, you can use instancepoint to get the number of the\n point currently being instanced.

attribute is the name of the attribute (for example, Cd for diffuse\n color). Two special attributes exist: P and Pw which represent the\n position of the point in space (Pw allows you to access the W\n component of the position).

index specifies the component position in multi-component attributes such as vectors, colors, and arrays. For example, if the attribute is a color, an index value of 0 returns the red component, 1 returns the green component, and 2 returns the blue component.

Note

This function will interpolate between point values if the point\n number is fractional, such as 3.35

Examples

point(\"/obj/geo1/facet1\", 3, \"P\", 0)

Returns the X component of point 3 of the facet1 surface node in geo1.

point(\"/obj/geo1/facet1\", 3, \"N\", 2)

Returns the Z component of the normal attribute of point 3 in the

facet1 surface node of object geo1.

Related

pointavg
vertex
", + "point": "

point

Returns the value of a point attribute.

point(surface_node, point_number, attribute, index)

surface_node is a path to a surface node, for example \"/obj/geo1/grid1\".

point_number is the point number to read the attribute from.\n When instancing, you can use instancepoint to get the number of the\n point currently being instanced.

attribute is the name of the attribute (for example, Cd for diffuse\n color). Two special attributes exist: P and Pw which represent the\n position of the point in space (Pw allows you to access the W\n component of the position).

Components of dictionary attributes can be resolved using ., for\n example \"param.key\" will return the value of key in the dictionary\n attribute param.

index specifies the component position in multi-component attributes such as vectors, colors, and arrays. For example, if the attribute is a color, an index value of 0 returns the red component, 1 returns the green component, and 2 returns the blue component.

Note

This function will interpolate between point values if the point\n number is fractional, such as 3.35.

Examples

point(\"/obj/geo1/facet1\", 3, \"P\", 0)

Returns the X component of point 3 of the facet1 surface node in geo1.

point(\"/obj/geo1/facet1\", 3, \"N\", 2)

Returns the Z component of the normal attribute of point 3 in the facet1 surface node of object geo1.

Related

pointavg
vertex
", + "pointattriblist": "

pointattriblist

Returns a space-separated list of point attribute names.

pointattriblist(surface_node)

Related

vertexattriblist
primattriblist
detailattriblist
attriblist
", "pointattribsize": "

pointattribsize

Returns the number of components in a point attribute.

pointattribsize(surface_node, attribute)

If the surface node or attribute is not found, returns 0.

Examples

pointattribsize( \"/obj/model/grid1\", \"P\" )

Returns 3, the number of components in a \"P\"\n (position) attribute (X, Y, and Z).

Related

point
vertexattribsize
primattribsize
detailattribsize
", - "pointattribtype": "

pointattribtype

Returns the type of a point attribute.

pointattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String

Examples

pointattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

point
primattribtype
vertexattribtype
detailattribtype
", + "pointattribtype": "

pointattribtype

Returns the type of a point attribute.

pointattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String
3 - Array of integers
4 - Array of floats
5 - Array of strings
6 - Dictionary
7 - Array of dictionaries

Examples

pointattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

point
primattribtype
vertexattribtype
detailattribtype
", "pointavg": "

pointavg

Returns the average of an attribute across all points in a geometry.

pointavg(surface_node, attribute, index)

This function works much like the point function, except that it\nreturns the average value of the attribute for all points in the\nspecified surface node.

index specifies the component position in multi-component attributes such as vectors, colors, and arrays. For example, if the attribute is a color, an index value of 0 returns the red component, 1 returns the green component, and 2 returns the blue component.

", "pointdist": "

pointdist

Returns the distance between a point and a primitive.

`pointdist(surface_node, point_num, surface_node, prim_num,

return_type)`

Given a point and a primitive, this function finds the distance between\nthe point and the closest spot on the primitive. If prim_num is minus\none, the closest distance to any primitive is found.

return_type = 0 returns the minimum distance.
return_type = 1 returns the u parametric value at the point of minimum\n distance.
return_type = 2 returns the v parametric value at the point of minimum\n distance.
return_type = 3 returns the primitive number that was closest. Enter\n -1 as the prim_num.

Examples

pointdist(\"/obj/geo1/add1\", 0, \"/obj/geo1/grid1\", 0, 0)

Returns the distance between point 0 of add1 and the closest spot\nfrom the surface of grid1 primitive number 0. If the return_type\nwere 1, the u parametric value that is closest to the point would be\nreturned.

Related

primdist
xyzdist
nearpoint
", - "pointgrouplist": "

pointgrouplist

Returns the list of point groups in a surface node.

pointgrouplist(surface_node)

The returned string is a space separated list of group names.

To get a list of groups whose names match a pattern, use\npointgroupmask.

Related

haspoint
pointlist
hasprim
primlist
primgrouplist
pointgroupmask
", - "pointgroupmask": "

pointgroupmask

Returns the list of point groups matching a pattern in a surface node.

pointgroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all point groups (no pattern),\nuse pointgrouplist.

Examples

pointgroupmask(\"/obj/model\", \"group*\")

Returns the names of all point groups in the specified surface node which\n start with \"group\". So this may be something like \"group1 group2\n group_smoke\".

Related

haspoint
pointlist
pointgrouplist
", + "pointgrouplist": "

pointgrouplist

Returns the list of point groups in a surface node.

pointgrouplist(surface_node)

The returned string is a space separated list of group names.

To get a list of groups whose names match a pattern, use\npointgroupmask.

Related

haspoint
pointlist
hasprim
primlist
primgrouplist
edgegrouplist
vertexgrouplist
pointgroupmask
", + "pointgroupmask": "

pointgroupmask

Returns the list of point groups matching a pattern in a surface node.

pointgroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all point groups (no pattern),\nuse pointgrouplist.

Examples

pointgroupmask(\"/obj/model\", \"group*\")

Returns the names of all point groups in the specified surface node which\n start with \"group\". So this may be something like \"group1 group2\n group_smoke\".

Related

haspoint
pointlist
primgroupmask
edgegroupmask
vertexgroupmask
pointgrouplist
", "pointlist": "

pointlist

Returns a list of all points in a point group.

pointlist(surface_node, group_name)

The returned string is a space separated list of point numbers.

Related

haspoint
pointgrouplist
pointpattern
hasprim
primlist
primgrouplist
", "pointneighbours": "

pointneighbours

Lists points that share a minimum number of primitives with\na specified point.

pointneighbours(surface_node, point_num, num_shared_prims)

This function lists all the points that share at\nleast num_shared_prims primitives with the point specified by\npoint_num.

The returned string is a space separated list of point numbers.

Examples

pointneighbours(\"/obj/geo1/sphere1\", 88, 2)

Returns a list of numbers that identify the points in sphere1 that\n share at least 2 primitives (typically along an edge) with sphere1\n point number 88.

pointneighbours(\"/obj/geo1/sphere1\", 88, 1)

Returns a list of numbers that identify the points in sphere1 that\n share at least 1 primitive with sphere1 point number 88.

pointneighbours(\"/obj/geo1/sphere1\", 88, 0)

Returns a list of all the points in sphere1 except point number 88.

Related

primneighbours
", "pointpattern": "

pointpattern

Returns a list of points that match a specified pattern.

pointpattern(surface_node, pattern)

The pattern is a space separated list of point numbers, point number ranges,\nor point group names.

The returned string is a space separated list of point numbers.

Examples

pointpattern(\"/obj/model/sphere1\", \"2-5 10-12\")

Returns \"2 3 4 5 10 11 12\", assuming the specified surface node exists and\n has that many points.

pointpattern(\"/obj/model/group1\", \"10 group1 20\")

Returns a list of all points in the group named \"group\", as well as\n 10 and 20. The order of the returned points is not guaranteed.

Related

pointlist
", - "points": "

points

Returns the string value of a point attribute.

points(surface_node, point_number, attribute)

Examples

points(\"/obj/geo1/facet1\", 3, \"instance\")

Returns the string associated with the string attribute \"instance\"\n for point 3 in the facet1 surface node in geo1.

", + "points": "

points

Returns the string value of a point attribute.

points(surface_node, point_number, attribute)

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

points(\"/obj/geo1/facet1\", 3, \"instance\")

Returns the string associated with the string attribute instance for point 3 in the facet1 surface node in geo1.

", "pointsmap": "

pointsmap

Returns a string from a list of strings in a point attribute.

pointsmap(surface_node, attribute, index)

This function will return the indexth unique string bound to the given\npoint attribute. Use pointsnummap to find the total number of unique\nstrings. Note that the exact order of the strings is should not be\nrelied upon. The indexes start with 0 and go to pointsnummap()-1.

Examples

pointsmap(\"/obj/geo1/attribcreate1\", \"foo\", 0)

Returns the first unique string on the given surface node.

", "pointsnummap": "

pointsnummap

Returns the number of unique strings bound to a point attribute.

pointsnummap(surface_node, attribute)

Examples

pointsnummap(\"/obj/geo1/attribcreate1\", \"foo\")

Returns number of unique strings in the foo attribute.

", "pow": "

pow

Raises a number to an exponent.

pow(base, exponent)

Examples

pow(2, 3) = 8
", - "prim": "

prim

Returns the value of a primitive attribute.

prim(surface_node, prim_num, attrib_name, attrib_index)

When given the \"P\" or \"Pw\" attribute, returns the centroid of the primitive.

This can also be used to read the value of a primitive intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Examples

prim(\"/obj/geo1/facet1\", 3, \"P\", 0)

Evaluates the X component of the centroid of primitive 3 in the\n specified surface node.

prim(\"/obj/geo1/facet1\", 3, \"Cd\", 1)

Evaluate the green color of the \"Cd\" attribute of primitive 3.

Related

primuv
point
", + "prim": "

prim

Returns the value of a primitive attribute.

prim(surface_node, prim_num, attrib_name, attrib_index)

When given the P or Pw attribute, returns the centroid of the primitive.

This can also be used to read the value of a primitive intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

prim(\"/obj/geo1/facet1\", 3, \"P\", 0)

Evaluates the X component of the centroid of primitive 3 in the\n specified surface node.

prim(\"/obj/geo1/facet1\", 3, \"Cd\", 1)

Evaluate the green color of the Cd attribute of primitive 3.

Related

primuv
point
", + "primattriblist": "

primattriblist

Returns a space-separated list of primitive attribute names.

primattriblist(surface_node)

Related

pointattriblist
vertexattriblist
detailattriblist
attriblist
", "primattribsize": "

primattribsize

Returns the number of components in a primitive attribute.

primattribsize(surface_node, attribute)

If the surface node or attribute are not found, returns 0.

Examples

primattribsize( \"/obj/model/box\", \"Cd\" )

Returns the number of elements of a diffuse color attribute.

Related

prim
pointattribsize
vertexattribsize
detailattribsize
", - "primattribtype": "

primattribtype

Returns the type of a primitive attribute.

primattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String

Examples

primattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

prim
pointattribtype
vertexattribtype
detailattribtype
", + "primattribtype": "

primattribtype

Returns the type of a primitive attribute.

primattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String
3 - Array of integers
4 - Array of floats
5 - Array of strings
6 - Dictionary
7 - Array of dictionaries

Examples

primattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

prim
pointattribtype
vertexattribtype
detailattribtype
", "primdist": "

primdist

Returns the minimum distance and closest points between two primitives.

`primdist(surface_node, prim1_num, surface_node, prim2_num,

return_type)`

return_type = 0: minimum distance
return_type = 1: U value of closest point on primitive 1
return_type = 2: V value of closest point on primitive 1
return_type = 3: U value of closest point on primitive 2
return_type = 4: V value of closest point on primitive 2

Only works for faces, curves, and spline surfaces. Other types of\nprimitives will always return 0.

Note

Minimum works in two groups. You can either use minimum between curves and polygons or between meshes, nurbs surfaces, and bezier surfaces. However, it will not work between the two groups. For example, a NURBS curve + NURBS surface will not work.

Examples

primdist(\"/obj/geo1/sphere1\", 0, \"/obj/geo1/grid1\", 0, 0)

Returns the distance between the first primitives in both sphere1\n and grid1.

Related

pointdist
xyzdist
nearpoint
", "primduv": "

primduv

Returns the partial derivatives of a primitive attribute.

`primduv(surface_node, prim_num, attrib_name, attrib_index,

u, v, du, dv)`

Evaluates the (partial) derivatives of a face or hull attribute at a\nparametric (u,v) position. u and v are unit values, defined in the\n[0,1] interval. When given the \"P\" or \"Pw\" attribute, the positional\nderivative of (u,v)'s image on the primitive will be returned. If the\nprimitive is a face type, v and dv are ignored. If both du and dv are 0,\nprimduv becomes equivalent to primuv.

Note

if the primitive is a polygon or a mesh, u and v are defined in\n terms of the number of vertices, or rows or columns respectively.

Examples

primduv(\"/obj/geo1/tube1\", 12, \"P\", 2, 0.4, 0.5, 1, 0)

Evaluates the Z component of the first-order partial derivative of\n primitive 12 with respect to u, at the parametric location\n (0.4,0.5).

Related

primuv
normal
curvature
unituv
", - "primgrouplist": "

primgrouplist

Returns the list of primitive groups in a surface node.

primgrouplist(surface_node)

The returned string is a space separated list of group names.

Related

haspoint
pointlist
pointgrouplist
hasprim
primlist
primgroupmask
", - "primgroupmask": "

primgroupmask

Returns the list of groups matching a pattern in a surface node.

primgroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all primitive groups (no pattern),\nuse primgrouplist.

Examples

primgroupmask(\"/obj/model\", \"group*\")

Returns the names of all primitive groups in the specified surface node \n which start with \"group\". So this may be something like \"group1 group2\n group_leftleg\".

Related

hasprim
primlist
primgrouplist
", + "primgrouplist": "

primgrouplist

Returns the list of primitive groups in a surface node.

primgrouplist(surface_node)

The returned string is a space separated list of group names.

Related

haspoint
pointlist
pointgrouplist
edgegrouplist
vertexgrouplist
hasprim
primlist
primgroupmask
", + "primgroupmask": "

primgroupmask

Returns the list of groups matching a pattern in a surface node.

primgroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all primitive groups (no pattern),\nuse primgrouplist.

Examples

primgroupmask(\"/obj/model\", \"group*\")

Returns the names of all primitive groups in the specified surface node \n which start with \"group\". So this may be something like \"group1 group2\n group_leftleg\".

Related

hasprim
primlist
pointgroupmask
edgegroupmask
vertexgroupmask
primgrouplist
", "primlist": "

primlist

Returns a list of all primitives in a surface node.

primlist(surface_node, group_name)

The return string is a space separated list of primitive numbers.

Related

haspoint
pointlist
pointgrouplist
hasprim
primgrouplist
", "primneighbours": "

primneighbours

Lists primitives that share a minimum number of points with a\nspecified primitive.

primneighbours(surface_node, prim_num, num_shared_pts)

This function lists all the primitives that share\nat least the given number of points with the primitive specified.

The returned string is a space separated list of primitive numbers.

Examples

primneighbours(\"/obj/geo1/sphere1\", 88, 2)

Returns a list of numbers that identify the primitives in sphere1\n that share at least 2 points (typically along an edge) with sphere1\n primitive number 88.

primneighbours(\"/obj/geo1/sphere1\", 88, 1)

Returns a list of numbers that identify the primitives in sphere1\n that share at least 1 point with sphere1 primitive number 88.

primneighbours(\"/obj/geo1/sphere1\", 88, 0)

Returns a list of all the primitives in sphere1 except primitive\n number 88.

Related

pointneighbours
", - "prims": "

prims

Returns the string value of a primitive attribute.

prims(surface_node, primitive_number, attribute)

This can also be used to read the value of a primitive intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Examples

prims(\"/obj/geo1/facet1\", 3, \"texturemap\")

Returns the string associated with the string attribute \"texturemap\"\n for primitive 3 in the facet1 surface node in geo1.

", + "prims": "

prims

Returns the string value of a primitive attribute.

prims(surface_node, primitive_number, attribute)

This can also be used to read the value of a primitive intrinsic by specifying\n\"intrinsic:name_of_intrinsic\" instead of an attribute name.

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

prims(\"/obj/geo1/facet1\", 3, \"texturemap\")

Returns the string associated with the string attribute texturemap\n for primitive 3 in the facet1 surface node in geo1.

", "primsmap": "

primsmap

Returns a string from a list of strings in a primitive attribute.

primsmap(surface_node, attribute, index)

This function will return the indexth unique string bound to the given\nprim attribute. Use primsnummap to find the total number of unique\nstrings. Note that the exact order of the strings is should not be\nrelied upon. The indexes start with 0 and go to primsnummap()-1.

Examples

primsmap(\"/obj/geo1/attribcreate1\", \"foo\", 0)

Returns the first unique string in the foo attribute.

", "primsnummap": "

primsnummap

Returns the number of unique strings bound to a primitive attribute.

primsnummap(surface_node, attribute)

Examples

primsnummap(\"/obj/geo1/attribcreate1\", \"foo\")

Returns number of unique strings tied to the foo attribute.

", "primuv": "

primuv

Returns the value of a primitive attribute at a certain UV location.

`primuv(surface_node, prim_num, attrib_name, attrib_index,

u, v)`

Evaluates the specified attribute at a parametric (u,v) position on the\nprimitive. u and v are unit values, defined in the [0,1] interval. When\ngiven the \"P\" or \"Pw\" attribute, the x, y, or z image of the (u,v)\ndomain point will be returned. If the primitive is a face type or a\ncircle, v is ignored.

Note

if the primitive is a polygon or a mesh, u and v are defined in\n terms of the number of vertices, or rows or columns respectively.\n Currently, only the position attribute of quadric primitives can\n be evaluated.

Examples

primuv(\"/obj/geo1/tube1\", 0, \"Cd\", 1, 0.7, 0.3)

Evaluates the Green component of the diffuse color attribute at a\n location on primitive 0 given by the parametric coordinates\n (0.7,0.3).

Related

primduv
normal
curvature
unituv
", @@ -391,10 +413,13 @@ "vector": "

vector

Converts a string specification into a vector.

vector(pattern)

The pattern should\nconsist of a leading square bracket followed by a comma-separated list\nof values and a closing square bracket.

To access a value out of the vector, use the square bracket operator.

Examples

vector v = vector(\"[1,2,3,4,5]\"); float f = v[0]; # f is 1
", "vector3": "

vector3

Converts three values into a 3-component vector.

vector3(x, y, z)

The pattern should\nconsist of a leading square bracket followed by a comma-separated list\nof values and a closing square bracket.

To access a value out of the vector, use the square bracket operator.

Examples

vector v = vector3(3,2,1); float f = v[0]; # f is 3
", "vector4": "

vector4

Converts four values into a 4-component vector.

vector4(x, y, z, w)

To access a value out of the vector, use the square bracket operator.

Examples

vector v = vector4(3,2,1,0); float f = v[0]; # f is 3
", - "vertex": "

vertex

Returns the value of a vertex attribute.

`vertex(surface_node, primitive_number, vertex_number,

attribute, index)`

attribute is the name of the attribute (eg. \"Cd\"\nfor diffuse color). Two special attributes exist \"P\" and \"Pw\" which\nrepresent the position of the point in space (\"Pw\" allows you to access\nthe W component of the position).

Note

This function will interpolate between point values if the vertex\n number is fractional, such as 3.35.

index specifies the component position in multi-component attributes such as vectors, colors, and arrays. For example, if the attribute is a color, an index value of 0 returns the red component, 1 returns the green component, and 2 returns the blue component.

Examples

vertex(\"/obj/geo1/facet1\", 2, 3, \"P\", 0)

Return the X component of vertex 3 of primitive2 in the facet1\n surface node of geo1.

point(\"/obj/geo1/facet1\", 2, 3, \"Cd\", 2)

Returns the Z component of the color attribute of vertex 3 of\n primitive 2 in the facet1 surface node of object geo1.

Related

point
pointavg
", + "vertex": "

vertex

Returns the value of a vertex attribute.

`vertex(surface_node, primitive_number, vertex_number,

attribute, index)`

attribute is the name of the attribute (eg. Cd for diffuse color). Two special attributes exist P and Pw which represent the position of the point in space. (Pw allows you to access\nthe W component of the position).

Components of dictionary attributes can be resolved using ., for example \"param.key\" will return the value of key in the dictionary attribute param.

Note

This function will interpolate between point values if the vertex\n number is fractional, such as 3.35.

index specifies the component position in multi-component attributes such as vectors, colors, and arrays. For example, if the attribute is a color, an index value of 0 returns the red component, 1 returns the green component, and 2 returns the blue component.

Examples

vertex(\"/obj/geo1/facet1\", 2, 3, \"P\", 0)

Return the X component of vertex 3 of primitive2 in the facet1\n surface node of geo1.

point(\"/obj/geo1/facet1\", 2, 3, \"Cd\", 2)

Returns the Z component of the color attribute of vertex 3 of\n primitive 2 in the facet1 surface node of object geo1.

Related

point
pointavg
", + "vertexattriblist": "

vertexattriblist

Returns a space-separated list of vertex attribute names.

vertexattriblist(surface_node)

Related

pointattriblist
primattriblist
detailattriblist
attriblist
", "vertexattribsize": "

vertexattribsize

Returns the number of components in a vertex attribute.

vertexattribsize(surface_node, attribute)

If the surface node or attribute are not found, returns 0.

Examples

vertexattribsize( \"/obj/model/sphere\", \"uv\" )

Returns the number of elements of a texture attribute.

Related

vertex
pointattribsize
primattribsize
detailattribsize
", - "vertexattribtype": "

vertexattribtype

Returns the type of a vertex attribute.

vertexattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String

Examples

vertexattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

vertex
pointattribtype
primattribtype
detailattribtype
", - "vertexs": "

vertexs

Returns the string value of a vertex attribute.

`vertexs(surface_node, primitive_number, vertex_number,

attribute)`

Examples

vertexs(\"/obj/geo1/facet1\", 1, 3, \"instance\")

Returns the string associated with the string attribute \"instance\"\n for vertex 3 of primitive 0 in the facet1 surface node in geo1.

", + "vertexattribtype": "

vertexattribtype

Returns the type of a vertex attribute.

vertexattribtype(surface_node, attribute)

If the surface node or attribute are not found, returns -1.

Types are
-1 - Unknown/Invalid
0 - Integer
1 - Float
2 - String
3 - Array of integers
4 - Array of floats
5 - Array of strings
6 - Dictionary
7 - Array of dictionaries

Examples

vertexattribsize( \"/obj/model/box\", \"Cd\" )

Returns 1 to denote a float attribute.

Related

vertex
pointattribtype
primattribtype
detailattribtype
", + "vertexgrouplist": "

vertexgrouplist

Returns the list of vertex groups in a surface node.

vertexgrouplist(surface_node)

The returned string is a space separated list of group names.

To get a list of groups whose names match a pattern, use\nvertexgroupmask.

Related

primgrouplist
pointgrouplist
edgegrouplist
vertexgroupmask
", + "vertexgroupmask": "

vertexgroupmask

Returns the list of vertex groups matching a pattern in a surface node.

vertexgroupmask(surface_node, pattern)

The returned string is a space separated list of group names.

To simply get a list of all vertex groups (no pattern),\nuse vertexgrouplist.

Examples

vertexgroupmask(\"/obj/model\", \"group*\")

Returns the names of all vertex groups in the specified surface node which\n start with \"group\". So this may be something like \"group1 group2\n group_smoke\".

Related

primgroupmask
pointgroupmask
edgegroupmask
vertexgrouplist
", + "vertexs": "

vertexs

Returns the string value of a vertex attribute.

`vertexs(surface_node, primitive_number, vertex_number,

attribute)`

Components of dictionary attributes can be resolved using ., for\nexample \"param.key\" will return the value of key in the dictionary\nattribute param.

Examples

vertexs(\"/obj/geo1/facet1\", 1, 3, \"instance\")

Returns the string associated with the string attribute instance\n for vertex 3 of primitive 0 in the facet1 surface node in geo1.

", "vertexsmap": "

vertexsmap

Returns a string from a list of strings in a vertex attribute.

vertexsmap(surface_node, attribute, index)

This function will return the indexth unique string bound to the given\npoint attribute. Use vertexsnummap to find the total number of unique\nstrings. Note that the exact order of the strings is should not be\nrelied upon. The indexes start with 0 and go to vertexsnummap()-1.

Examples

vertexsmap(\"/obj/geo1/attribcreate1\", \"foo\", 0)

Returns the first unique string in the foo attribute.

", "vertexsnummap": "

vertexsnummap

Returns the number of unique strings bound to a point attribute.

vertexsnummap(surface_node, attribute)

Examples

vertexsnummap(\"/obj/geo1/attribcreate1\", \"foo\")

Returns number of unique strings for the foo attribute.

", "vlength": "

vlength

Returns the length of a vector.

vlength(vec)

A.K.A. sqrt(dot(vec, vec)).

", diff --git a/messages.json b/messages.json index b92947f..4e03726 100644 --- a/messages.json +++ b/messages.json @@ -2,5 +2,6 @@ "install": "messages/install.txt", "7.1.0": "messages/7.1.0.txt", "7.1.1": "messages/7.1.1.txt", - "7.1.2": "messages/7.1.2.txt" + "7.1.2": "messages/7.1.2.txt", + "7.1.3": "messages/7.1.3.txt" } diff --git a/messages/7.1.3.txt b/messages/7.1.3.txt new file mode 100644 index 0000000..5ed5d29 --- /dev/null +++ b/messages/7.1.3.txt @@ -0,0 +1,40 @@ +Houdini add-on for Sublime Text: + https://github.com/teared/HScript + + +Release 7.1.3 + + +1. Updated for Houdini 18.5. + +2. New expression functions added: + + float bitset(float number, float bit_index, float value) + float bittest(float number, float bit_index) + float bitxor(float abits, float bbits) + string detailattriblist(string surface_node) + float haspdgattrib(string attribute) + float ocldeviceinfo(string flag) + string opnodigits(string name) + float pdgattrib(string name, float index) + string pdgattriblist() + string pdgattribs(string name, float index) + float pdgattribsize(string attribute) + float pdgattribtype(string attribute) + string pdgattribvals(string name) + float pdginputsize(string tag) + string pdginputvals(string tag, float localize) + float pdgoutputsize(string tag) + string pdgoutputvals(string tag, float localize) + string pointattriblist(string surface_node) + string primattriblist(string surface_node) + string vertexgrouplist(string surface_node) + string vertexgroupmask(string surface_node, string pattern) + + Tip: to read about new functions quickly, copy the list in empty + Sublime Text document, set HScript syntax and check documentation helpcards. + +3. Commands highlighted in syntax: + + opinputstring + viewposteffects \ No newline at end of file diff --git a/readme.md b/readme.md index e9a8a3e..95c4382 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # [Houdini] add-on for [Sublime Text] -[Houdini]: https://sidefx.com/ +[Houdini]: https://www.sidefx.com/ [Sublime Text]: https://www.sublimetext.com/ @@ -13,8 +13,8 @@ Open [issues] for bug reports, requests, suggestions, etc. -[HScript]: http://www.sidefx.com/docs/houdini/commands/_guide -[HScript Expressions]: http://www.sidefx.com/docs/houdini/ref/expression_cookbook.html +[HScript]: https://www.sidefx.com/docs/houdini/commands/_guide +[HScript Expressions]: https://www.sidefx.com/docs/houdini/ref/expression_cookbook.html [VEX add-on]: https://github.com/teared/VEX [issues]: https://github.com/teared/HScript/issues @@ -36,7 +36,7 @@ Requirements: Tools → Install Package Control -[Sublime Text]: http://www.sublimetext.com/ +[Sublime Text]: https://www.sublimetext.com/ [Package Control]: https://packagecontrol.io/ diff --git a/snippets/expressions.sublime-completions b/snippets/expressions.sublime-completions index b888f9a..749215d 100644 --- a/snippets/expressions.sublime-completions +++ b/snippets/expressions.sublime-completions @@ -49,6 +49,10 @@ "trigger": "atof(source)", "contents": "atof(${1:source})" }, + { + "trigger": "attriblist(surface_node, class)", + "contents": "attriblist(${1:surface_node}, ${2:class})" + }, { "trigger": "bbox(surface_node, type)", "contents": "bbox(${1:surface_node}, ${2:type})" @@ -57,6 +61,26 @@ "trigger": "bezier()", "contents": "bezier()" }, + { + "trigger": "bitand(abits, bbits)", + "contents": "bitand(${1:abits}, ${2:bbits})" + }, + { + "trigger": "bitor(abits, bbits)", + "contents": "bitor(${1:abits}, ${2:bbits})" + }, + { + "trigger": "bitset(number, bit_index, value)", + "contents": "bitset(${1:number}, ${2:bit_index}, ${3:value})" + }, + { + "trigger": "bittest(number, bit_index)", + "contents": "bittest(${1:number}, ${2:bit_index})" + }, + { + "trigger": "bitxor(abits, bbits)", + "contents": "bitxor(${1:abits}, ${2:bbits})" + }, { "trigger": "boneangle(bone1, bone2)", "contents": "boneangle(${1:bone1}, ${2:bone2})" @@ -198,12 +222,12 @@ "contents": "constant()" }, { - "trigger": "contextoption(token)", - "contents": "contextoption(${1:token})" + "trigger": "contextoption(name)", + "contents": "contextoption(${1:name})" }, { - "trigger": "contextoptions(token)", - "contents": "contextoptions(${1:token})" + "trigger": "contextoptions(name)", + "contents": "contextoptions(${1:name})" }, { "trigger": "cophasmeta(compositing_node, metadata_name)", @@ -218,8 +242,8 @@ "contents": "copmetas(${1:compositing_node}, ${2:metadata_name})" }, { - "trigger": "cos(number)", - "contents": "cos(${1:number})" + "trigger": "cos(degrees)", + "contents": "cos(${1:degrees})" }, { "trigger": "cosh(number)", @@ -277,6 +301,10 @@ "trigger": "detail(surface_node, attrib_name, attrib_index)", "contents": "detail(${1:surface_node}, ${2:attrib_name}, ${3:attrib_index})" }, + { + "trigger": "detailattriblist(surface_node)", + "contents": "detailattriblist(${1:surface_node})" + }, { "trigger": "detailattribsize(surface_node, attribute)", "contents": "detailattribsize(${1:surface_node}, ${2:attribute})" @@ -601,6 +629,10 @@ "trigger": "hasdetailattrib(surface_node, attribute)", "contents": "hasdetailattrib(${1:surface_node}, ${2:attribute})" }, + { + "trigger": "haspdgattrib(attribute)", + "contents": "haspdgattrib(${1:attribute})" + }, { "trigger": "haspoint(group_name, surface_node, point_num)", "contents": "haspoint(${1:group_name}, ${2:surface_node}, ${3:point_num})" @@ -921,6 +953,10 @@ "trigger": "oc(output_channel_index, index)", "contents": "oc(${1:output_channel_index}, ${2:index})" }, + { + "trigger": "ocldeviceinfo(flag)", + "contents": "ocldeviceinfo(${1:flag})" + }, { "trigger": "oldrand(value)", "contents": "oldrand(${1:value})" @@ -997,6 +1033,10 @@ "trigger": "opninputs(name)", "contents": "opninputs(${1:name})" }, + { + "trigger": "opnodigits(name)", + "contents": "opnodigits(${1:name})" + }, { "trigger": "opnoutputs(name)", "contents": "opnoutputs(${1:name})" @@ -1081,6 +1121,26 @@ "trigger": "parmisstring(parameter_name)", "contents": "parmisstring(${1:parameter_name})" }, + { + "trigger": "pdgattrib(name, index)", + "contents": "pdgattrib(${1:name}, ${2:index})" + }, + { + "trigger": "pdgattriblist()", + "contents": "pdgattriblist()" + }, + { + "trigger": "pdgattribs(name, index)", + "contents": "pdgattribs(${1:name}, ${2:index})" + }, + { + "trigger": "pdgattribsize(attribute)", + "contents": "pdgattribsize(${1:attribute})" + }, + { + "trigger": "pdgattribtype(attribute)", + "contents": "pdgattribtype(${1:attribute})" + }, { "trigger": "pdgattribute(name, index)", "contents": "pdgattribute(${1:name}, ${2:index})" @@ -1089,14 +1149,34 @@ "trigger": "pdgattributes(name, index)", "contents": "pdgattributes(${1:name}, ${2:index})" }, + { + "trigger": "pdgattribvals(name)", + "contents": "pdgattribvals(${1:name})" + }, { "trigger": "pdginput(index, tag, localize)", "contents": "pdginput(${1:index}, ${2:tag}, ${3:localize})" }, + { + "trigger": "pdginputsize(tag)", + "contents": "pdginputsize(${1:tag})" + }, + { + "trigger": "pdginputvals(tag, localize)", + "contents": "pdginputvals(${1:tag}, ${2:localize})" + }, { "trigger": "pdgoutput(index, tag, localize)", "contents": "pdgoutput(${1:index}, ${2:tag}, ${3:localize})" }, + { + "trigger": "pdgoutputsize(tag)", + "contents": "pdgoutputsize(${1:tag})" + }, + { + "trigger": "pdgoutputvals(tag, localize)", + "contents": "pdgoutputvals(${1:tag}, ${2:localize})" + }, { "trigger": "pic(copname, U, V, color_type)", "contents": "pic(${1:copname}, ${2:U}, ${3:V}, ${4:color_type})" @@ -1113,6 +1193,10 @@ "trigger": "point(surface_node, point_number, attribute, index)", "contents": "point(${1:surface_node}, ${2:point_number}, ${3:attribute}, ${4:index})" }, + { + "trigger": "pointattriblist(surface_node)", + "contents": "pointattriblist(${1:surface_node})" + }, { "trigger": "pointattribsize(surface_node, attribute)", "contents": "pointattribsize(${1:surface_node}, ${2:attribute})" @@ -1169,6 +1253,10 @@ "trigger": "prim(surface_node, prim_num, attrib_name, attrib_index)", "contents": "prim(${1:surface_node}, ${2:prim_num}, ${3:attrib_name}, ${4:attrib_index})" }, + { + "trigger": "primattriblist(surface_node)", + "contents": "primattriblist(${1:surface_node})" + }, { "trigger": "primattribsize(surface_node, attribute)", "contents": "primattribsize(${1:surface_node}, ${2:attribute})" @@ -1370,8 +1458,8 @@ "contents": "sign(${1:value})" }, { - "trigger": "sin(number)", - "contents": "sin(${1:number})" + "trigger": "sin(degrees)", + "contents": "sin(${1:degrees})" }, { "trigger": "sinh(number)", @@ -1466,8 +1554,8 @@ "contents": "systemRAW(${1:command_string})" }, { - "trigger": "tan(number)", - "contents": "tan(${1:number})" + "trigger": "tan(degrees)", + "contents": "tan(${1:degrees})" }, { "trigger": "tanh(number)", @@ -1541,6 +1629,10 @@ "trigger": "vertex(surface_node, primitive_number, vertex_number, attribute, index)", "contents": "vertex(${1:surface_node}, ${2:primitive_number}, ${3:vertex_number}, ${4:attribute}, ${5:index})" }, + { + "trigger": "vertexattriblist(surface_node)", + "contents": "vertexattriblist(${1:surface_node})" + }, { "trigger": "vertexattribsize(surface_node, attribute)", "contents": "vertexattribsize(${1:surface_node}, ${2:attribute})" @@ -1549,6 +1641,14 @@ "trigger": "vertexattribtype(surface_node, attribute)", "contents": "vertexattribtype(${1:surface_node}, ${2:attribute})" }, + { + "trigger": "vertexgrouplist(surface_node)", + "contents": "vertexgrouplist(${1:surface_node})" + }, + { + "trigger": "vertexgroupmask(surface_node, pattern)", + "contents": "vertexgroupmask(${1:surface_node}, ${2:pattern})" + }, { "trigger": "vertexs(surface_node, primitive_number, vertex_number, attribute)", "contents": "vertexs(${1:surface_node}, ${2:primitive_number}, ${3:vertex_number}, ${4:attribute})" diff --git a/syntax/HScript.sublime-syntax b/syntax/HScript.sublime-syntax index d1f75f8..b7033ff 100644 --- a/syntax/HScript.sublime-syntax +++ b/syntax/HScript.sublime-syntax @@ -6,8 +6,8 @@ file_extensions: scope: source.hscript variables: - expression: 'abs|abspath|acos|angvel|arclen|arclenD|arg|argc|asin|atan|atan2|atof|bbox|bezier|boneangle|ceil|centroid|ch|chexist|chexpr|chexprf|chexprt|chf|chgroup|chop|chopcf|chopci|chopct|chope|chopf|chopi|chopl|chopn|chopnames|chopr|chops|chopstr|chopt|chramp|chrampf|chrampt|chs|chsop|chsoplist|chsraw|cht|clamp|clamptosphere|constant|contextoption|contextoptions|cophasmeta|copmeta|copmetas|cos|cosh|cross|cubic|curvature|cycle|cycleoffset|cycleoffsett|cyclet|decode|decodeattrib|decodeparm|deg|degree|detail|detailattribsize|detailattribtype|details|detailsmap|detailsnummap|determinant|dihedral|distance|dopallfields|dopcontextgeo|dopcountslices|dopfield|dopfieldname|dopfields|dopfieldtype|dopframe|dopframetost|dopgrouphasobject|dopgrouplist|dophasfield|dophassubdata|dopnodeobjs|dopnumfields|dopnumobjects|dopnumrecords|dopnumrecordtypes|dopnumsubdata|dopobjectlist|dopobjectsareaffectors|dopobjscreatedby|dopoption|dopoptions|doprecordtypename|dopsolvedopnet|dopsolvenewobject|dopsolvenumnewobjects|dopsolvenumobjects|dopsolveobject|dopsolvetimestep|dopsttoframe|dopsttot|dopsubdataname|doptime|doptransform|dopttost|dopvelatpos|dot|ease|easein|easeinp|easeout|easeoutp|easep|edgegrouplist|edgegroupmask|encode|encodeattrib|encodeparm|eval|evals|execute|executeb|executee|exp|explodematrix|explodematrixp|explodematrixpr|findfile|findfiles|fit|fit01|fit10|fit11|floor|frac|ftoa|ftrim|groupbyval|groupbyvals|hascontextoption|hasdetailattrib|haspoint|haspointattrib|hasprim|hasprimattrib|hasvertexattrib|hextoint|hsv|ic|ice|icl|icmax|icmin|icn|icr|ics|identity|if|ifs|imgbounds|index|instancepoint|int|inttohex|invert|iprquery|iprquerys|isclosed|iscollided|ishvariable|isspline|isstuck|isvariable|iswrapu|iswrapv|length|linear|listbyval|listbyvals|lock|log|log10|lopinputprim|lopinputprims|loplastmodifiedprim|loplastmodifiedprims|lopparentprims|loprelativeprims|match|matchin|matchout|matrix|matrixtoquat|max|mcols|metaweight|min|mindist|mlookat|mlookatup|mobjlookat|modblend|morient|mousepane|mousepath|mrows|mzero|nearpoint|noise|normal|normalize|npoints|npointsgroup|nprims|nprimsgroup|nuniquevals|objkinoverride|objlightmask|objlookat|objpretransform|oc|oldrand|opblist|opcreator|opdigits|opexist|opflag|opfullpath|opfullpathfrom|opid|opinput|opinputpath|opinputstring|opisloading|opisquitting|oplightmask|oplistsort|opname|opnchildren|opninputs|opnoutputs|opoutput|opoutputpath|oppinput|oppwd|oppwf|oprelativepath|opselect|opselectpath|opselectrecurse|opselectrecursepath|opstreamname|opsubpath|optransform|optype|optypeinfo|origin|originoffset|padzero|param|parmisstring|pdgattribute|pdgattributes|pdginput|pdgoutput|pic|picni|pluralize|point|pointattribsize|pointattribtype|pointavg|pointdist|pointgrouplist|pointgroupmask|pointlist|pointneighbours|pointpattern|points|pointsmap|pointsnummap|pow|prim|primattribsize|primattribtype|primdist|primduv|primgrouplist|primgroupmask|primlist|primneighbours|prims|primsmap|primsnummap|primuv|print|property|propertyf|propertys|propertysop|propertysraw|propertyt|pulse|pythonexprf|pythonexprs|qlinear|quattomatrix|quintic|rad|rand|realuv|relpath|repeat|repeatt|res|rgb|rindex|rint|rotate|rotaxis|round|run|runb|rune|scale|scalefrommks|scaletomks|seqanim|seqend|seqlength|seqstart|shopstring|sign|sin|sinh|smooth|snoise|spknot|spline|sqrt|stamp|stamps|strcasecmp|strcasematch|strcat|strcmp|strdup|stripmatrix|strlen|strmatch|strreplace|sturb|substr|surflen|system|systemES|systemRAW|tan|tanh|tex|texni|tolower|toupper|translate|transpose|trunc|turb|uniqueval|uniquevals|unituv|uvdist|vangle|vector|vector3|vector4|vertex|vertexattribsize|vertexattribtype|vertexs|vertexsmap|vertexsnummap|vlength|vlength2|vmatch|vmatchin|vmatchout|volumeaverage|volumegradient|volumeindex|volumeindextopos|volumemax|volumemin|volumepostoindex|volumeres|volumesample|volumevoxeldiameter|vorigin|vpname|vrorigin|vscale|vset|vsize|vtorigin|wrap|xyzdist' - command: 'alias|animeditor|appendseq|atjob|audiopanel|autosave|bonealigncapture|boneconvert|bonefixchops|bonemoveend|bookmark|bundlelist|chadd|chalias|chaneditor|chanlist|chautoscope|chautoselect|chblockbegin|chblockend|chcommit|chcp|chgadd|chgglobal|chgls|chgop|chgpopulate|chgrm|chhold|chkey|chkeyget|chkeyls|chkeymv|chkeyrm|chlock|chls|chopexportmap|chopls|chopscope|chopview|chread|chrefit|chrename|chreverse|chrm|chround|chscope|chstretch|chwrite|clear|closeport|cmdread|colladaimport|colorsettings|commandecho|compfree|compopts|compproject|cplane|datatree|desk|dopdatahint|dopdatatypealias|dopdatatypes|dopsave|dopsavedata|dopsolveadddata|dopsolvecopydata|dopsolveremovedata|dopsolvesetoption|dsedit|dsoinfo|dsreload|echo|excat|exedit|exhelp|exit|exls|exread|exrm|fbximport|fbximportanim|fcur|fdependadd|fdependhide|fdependls|fdependrm|filechooser|fplayback|fps|frange|fset|ftimecode|geocache|glcache|help|helpbrowser|helpsearch|history|hotkey|imgdispopt|imgsave|imgview|imgview2d|imgviewhist|imgviewls|imgviewtime|imgviewtool|iprview|java|job|kinconvert|linker|listchooser|loadaudio|loadseq|matrman|matupdateref|memory|menurefresh|message|mnew|mplayfit|mplayhome|mplayprofile|mread|mwrite|nbadd|nbcolor|nbcp|nbget|nbglob|nblocate|nbls|nblsop|nbname|nbop|nbrm|nbset|nbsize|netcolumns|neteditor|netviewdep|networkeditor|nextkey|nodegraph|objcache|objcleantransform|objextractpretransform|objkinoverride|objlightlink|objmaterial|objparent|objpretransform|objresetpretransform|ociocolorspace|ociocolorspace|ociodisplay|ociodisplay|ombind|ombindinfo|omls|omparm|omsbind|omsbindinfo|omsls|omsunbind|omswhere|omunbind|omwhere|omwrite|opadd|opalias|opautoplace|opbadd|opbfilters|opbls|opbname|opbop|opbrm|opcf|opchange|opchangetype|opchmod|opcollapse|opcolor|opcomment|opcook|opcopy|opcp|opdefaultcolor|opdefaultshape|opdelscript|opdepend|opdeprecate|openport|opeventscriptcache|opexclude|opexprlanguage|opextern|opextract|opfind|opfirstname|opgadd|opget|opgetinput|opglob|opgls|opgop|opgrm|ophelp|ophide|opinfo|oplayout|oplegacyinputs|oplocate|opls|opmenu|opmultiparm|opname|oporder|oppane|opparm|oppaste|oppresetload|oppresetloadfile|oppresetls|oppresetrm|oppresetsave|oppresetsavefile|opproperty|oppwf|opramp|opread|oprename|oprm|oprmtype|opsave|opscale|opscript|opset|opspare|opspareds|opstat|optype|optypeinstall|optyperead|optypeuninstall|opunhide|opunload|opunwire|opupdate|opuserdata|opwire|opwrite|otcollapse|otcomment|otconfig|otcontentadd|otcontentdelete|otcontentls|otcontentsave|otcopy|otcplayout|otcreatecompiledtypefrom|otcreatetypefrom|otdelete|otedit|otexpand|otgetotl|otglob|otinuse|otload|otls|otmerge|otprefer|otrefresh|otrenamesource|otsync|ottouch|otunload|otunsync|otversion|otwrite|pane|panepath|parmeditor|parmlist|parmsheet|pathmap|perfmon|performance|pilist|play|pomadd|pomattach|pomclear|pomdetach|pomls|pomparm|pomremove|pomrename|pomscript|pomset|preference|prependseq|prompt|propertyedit|python|pythonpanel|quit|radial|read|render|rexport|rkill|ropview|rps|scenegraphtree|sceneviewopts|sceneviewpurpose|sceneviewrenderopts|seqls|set|setcomp|setenv|setplane|shelfdock|shift|shopconvert|shoppromote|shopthumb|shopvisible|sopcache|sopcreateedit|source|stampdirty|system|takeadd|takeautomode|takeinclude|takelist|takeload|takels|takemerge|takemove|takename|takerm|takesave|takescript|takeset|tcur|test_access|texcache|time|timeslice|tmgadd|tmgls|tmgname|tmgop|tmgrm|tmgshift|toolbar|topcancel|topcook|topdirty|treechooser|treecontrol|tset|ucd|uls|umkdir|undoctrl|unitlength|unitmass|unix|updateui|upwd|urm|varchange|version|vexinfo|vexprofile|viewagentopts|viewbackground|viewcamera|viewcolor|viewcopy|viewdisplay|viewdispopts|viewdispset|vieweffect|viewergrouplist|viewerinspect|vieweroption|viewerstow|viewhome|viewinfotext|viewlayout|viewlight|viewls|viewmaskoverlay|viewname|viewonionskin|viewoptadd|viewoptenable|viewoptls|viewoptname|viewoptrm|viewoptset|vieworthogrid|viewprojection|viewrefplane|viewroto|viewsnapshot|viewsnapshotoption|viewtool|viewtransform|viewtype|viewupdate|viewuvgrid|viewwrite|visualizeradd|visualizerset|vopforcecompile|vopwritevfl' + expression: 'abs|abspath|acos|angvel|arclen|arclenD|arg|argc|asin|atan|atan2|atof|attriblist|bbox|bezier|bitand|bitor|bitset|bittest|bitxor|boneangle|ceil|centroid|ch|chexist|chexpr|chexprf|chexprt|chf|chgroup|chop|chopcf|chopci|chopct|chope|chopf|chopi|chopl|chopn|chopnames|chopr|chops|chopstr|chopt|chramp|chrampf|chrampt|chs|chsop|chsoplist|chsraw|cht|clamp|clamptosphere|constant|contextoption|contextoptions|cophasmeta|copmeta|copmetas|cos|cosh|cross|cubic|curvature|cycle|cycleoffset|cycleoffsett|cyclet|decode|decodeattrib|decodeparm|deg|degree|detail|detailattriblist|detailattribsize|detailattribtype|details|detailsmap|detailsnummap|determinant|dihedral|distance|dopallfields|dopcontextgeo|dopcountslices|dopfield|dopfieldname|dopfields|dopfieldtype|dopframe|dopframetost|dopgrouphasobject|dopgrouplist|dophasfield|dophassubdata|dopnodeobjs|dopnumfields|dopnumobjects|dopnumrecords|dopnumrecordtypes|dopnumsubdata|dopobjectlist|dopobjectsareaffectors|dopobjscreatedby|dopoption|dopoptions|doprecordtypename|dopsolvedopnet|dopsolvenewobject|dopsolvenumnewobjects|dopsolvenumobjects|dopsolveobject|dopsolvetimestep|dopsttoframe|dopsttot|dopsubdataname|doptime|doptransform|dopttost|dopvelatpos|dot|ease|easein|easeinp|easeout|easeoutp|easep|edgegrouplist|edgegroupmask|encode|encodeattrib|encodeparm|eval|evals|execute|executeb|executee|exp|explodematrix|explodematrixp|explodematrixpr|findfile|findfiles|fit|fit01|fit10|fit11|floor|frac|ftoa|ftrim|groupbyval|groupbyvals|hascontextoption|hasdetailattrib|haspdgattrib|haspoint|haspointattrib|hasprim|hasprimattrib|hasvertexattrib|hextoint|hsv|ic|ice|icl|icmax|icmin|icn|icr|ics|identity|if|ifs|imgbounds|index|instancepoint|int|inttohex|invert|iprquery|iprquerys|isclosed|iscollided|ishvariable|isspline|isstuck|isvariable|iswrapu|iswrapv|length|linear|listbyval|listbyvals|lock|log|log10|lopinputprim|lopinputprims|loplastmodifiedprim|loplastmodifiedprims|lopparentprims|loprelativeprims|match|matchin|matchout|matrix|matrixtoquat|max|mcols|metaweight|min|mindist|mlookat|mlookatup|mobjlookat|modblend|morient|mousepane|mousepath|mrows|mzero|nearpoint|noise|normal|normalize|npoints|npointsgroup|nprims|nprimsgroup|nuniquevals|objkinoverride|objlightmask|objlookat|objpretransform|oc|ocldeviceinfo|oldrand|opblist|opcreator|opdigits|opexist|opflag|opfullpath|opfullpathfrom|opid|opinput|opinputpath|opinputstring|opisloading|opisquitting|oplightmask|oplistsort|opname|opnchildren|opninputs|opnodigits|opnoutputs|opoutput|opoutputpath|oppinput|oppwd|oppwf|oprelativepath|opselect|opselectpath|opselectrecurse|opselectrecursepath|opstreamname|opsubpath|optransform|optype|optypeinfo|origin|originoffset|padzero|param|parmisstring|pdgattrib|pdgattriblist|pdgattribs|pdgattribsize|pdgattribtype|pdgattribute|pdgattributes|pdgattribvals|pdginput|pdginputsize|pdginputvals|pdgoutput|pdgoutputsize|pdgoutputvals|pic|picni|pluralize|point|pointattriblist|pointattribsize|pointattribtype|pointavg|pointdist|pointgrouplist|pointgroupmask|pointlist|pointneighbours|pointpattern|points|pointsmap|pointsnummap|pow|prim|primattriblist|primattribsize|primattribtype|primdist|primduv|primgrouplist|primgroupmask|primlist|primneighbours|prims|primsmap|primsnummap|primuv|print|property|propertyf|propertys|propertysop|propertysraw|propertyt|pulse|pythonexprf|pythonexprs|qlinear|quattomatrix|quintic|rad|rand|realuv|relpath|repeat|repeatt|res|rgb|rindex|rint|rotate|rotaxis|round|run|runb|rune|scale|scalefrommks|scaletomks|seqanim|seqend|seqlength|seqstart|shopstring|sign|sin|sinh|smooth|snoise|spknot|spline|sqrt|stamp|stamps|strcasecmp|strcasematch|strcat|strcmp|strdup|stripmatrix|strlen|strmatch|strreplace|sturb|substr|surflen|system|systemES|systemRAW|tan|tanh|tex|texni|tolower|toupper|translate|transpose|trunc|turb|uniqueval|uniquevals|unituv|uvdist|vangle|vector|vector3|vector4|vertex|vertexattriblist|vertexattribsize|vertexattribtype|vertexgrouplist|vertexgroupmask|vertexs|vertexsmap|vertexsnummap|vlength|vlength2|vmatch|vmatchin|vmatchout|volumeaverage|volumegradient|volumeindex|volumeindextopos|volumemax|volumemin|volumepostoindex|volumeres|volumesample|volumevoxeldiameter|vorigin|vpname|vrorigin|vscale|vset|vsize|vtorigin|wrap|xyzdist' + command: 'alias|animeditor|appendseq|atjob|audiopanel|autosave|bonealigncapture|boneconvert|bonefixchops|bonemoveend|bookmark|bundlelist|chadd|chalias|chaneditor|chanlist|chautoscope|chautoselect|chblockbegin|chblockend|chcommit|chcp|chgadd|chgglobal|chgls|chgop|chgpopulate|chgrm|chhold|chkey|chkeyget|chkeyls|chkeymv|chkeyrm|chlock|chls|chopexportmap|chopls|chopscope|chopview|chread|chrefit|chrename|chreverse|chrm|chround|chscope|chstretch|chwrite|clear|closeport|cmdread|colladaimport|colorsettings|commandecho|compfree|compopts|compproject|cplane|datatree|desk|dopdatahint|dopdatatypealias|dopdatatypes|dopsave|dopsavedata|dopsolveadddata|dopsolvecopydata|dopsolveremovedata|dopsolvesetoption|dsedit|dsoinfo|dsreload|echo|excat|exedit|exhelp|exit|exls|exread|exrm|fbximport|fbximportanim|fcur|fdependadd|fdependhide|fdependls|fdependrm|filechooser|fplayback|fps|frange|fset|ftimecode|geocache|glcache|help|helpbrowser|helpsearch|history|hotkey|imgdispopt|imgsave|imgview|imgview2d|imgviewhist|imgviewls|imgviewtime|imgviewtool|iprview|java|job|kinconvert|linker|listchooser|loadaudio|loadseq|matrman|matupdateref|memory|menurefresh|message|mnew|mplayfit|mplayhome|mplayprofile|mread|mwrite|nbadd|nbcolor|nbcp|nbget|nbglob|nblocate|nbls|nblsop|nbname|nbop|nbrm|nbset|nbsize|netcolumns|neteditor|netviewdep|networkeditor|nextkey|nodegraph|objcache|objcleantransform|objextractpretransform|objkinoverride|objlightlink|objmaterial|objparent|objpretransform|objresetpretransform|ociocolorspace|ociodisplay|ombind|ombindinfo|omls|omparm|omsbind|omsbindinfo|omsls|omsunbind|omswhere|omunbind|omwhere|omwrite|opadd|opalias|opautoplace|opbadd|opbfilters|opbls|opbname|opbop|opbrm|opcf|opchange|opchangetype|opchmod|opcollapse|opcolor|opcomment|opcook|opcopy|opcp|opdefaultcolor|opdefaultshape|opdelscript|opdepend|opdeprecate|openport|opeventscriptcache|opexclude|opexprlanguage|opextern|opextract|opfind|opfirstname|opgadd|opget|opgetinput|opglob|opgls|opgop|opgrm|ophelp|ophide|opinfo|opinputstring|oplayout|oplegacyinputs|oplocate|opls|opmenu|opmultiparm|opname|oporder|oppane|opparm|oppaste|oppresetload|oppresetloadfile|oppresetls|oppresetrm|oppresetsave|oppresetsavefile|opproperty|oppwf|opramp|opread|oprename|oprm|oprmtype|opsave|opscale|opscript|opset|opspare|opspareds|opstat|optype|optypeinstall|optyperead|optypeuninstall|opunhide|opunload|opunwire|opupdate|opuserdata|opwire|opwrite|otcollapse|otcomment|otconfig|otcontentadd|otcontentdelete|otcontentls|otcontentsave|otcopy|otcplayout|otcreatecompiledtypefrom|otcreatetypefrom|otdelete|otedit|otexpand|otgetotl|otglob|otinuse|otload|otls|otmerge|otprefer|otrefresh|otrenamesource|otsync|ottouch|otunload|otunsync|otversion|otwrite|pane|panepath|parmeditor|parmlist|parmsheet|pathmap|perfmon|performance|pilist|play|pomadd|pomattach|pomclear|pomdetach|pomls|pomparm|pomremove|pomrename|pomscript|pomset|preference|prependseq|prompt|propertyedit|python|pythonpanel|quit|radial|read|render|rexport|rkill|ropview|rps|scenegraphtree|sceneviewopts|sceneviewpurpose|sceneviewrenderopts|seqls|set|setcomp|setenv|setplane|shelfdock|shift|shopconvert|shoppromote|shopthumb|shopvisible|sopcache|sopcreateedit|source|stampdirty|system|takeadd|takeautomode|takeinclude|takelist|takeload|takels|takemerge|takemove|takename|takerm|takesave|takescript|takeset|tcur|test_access|texcache|time|timeslice|tmgadd|tmgls|tmgname|tmgop|tmgrm|tmgshift|toolbar|topcancel|topcook|topdirty|treechooser|treecontrol|tset|ucd|uls|umkdir|undoctrl|unitlength|unitmass|unix|updateui|upwd|urm|varchange|version|vexinfo|vexprofile|viewagentopts|viewbackground|viewcamera|viewcolor|viewcopy|viewdisplay|viewdispopts|viewdispset|vieweffect|viewergrouplist|viewerinspect|vieweroption|viewerstow|viewhome|viewinfotext|viewlayout|viewlight|viewls|viewmaskoverlay|viewname|viewonionskin|viewoptadd|viewoptenable|viewoptls|viewoptname|viewoptrm|viewoptset|vieworthogrid|viewposteffects|viewprojection|viewrefplane|viewroto|viewsnapshot|viewsnapshotoption|viewtool|viewtransform|viewtype|viewupdate|viewuvgrid|viewwrite|visualizeradd|visualizerset|vopforcecompile|vopwritevfl' contexts: main: