This is an example of how to create an array of floats on the fly using the C-API.
module MakeArray <src_file="mk_array.c"> { omethod+notify_inst update() = "mk_array"; };
This MakeArray module utilizes the currently undocumented OMset_array_dims ( I think the variables are like OMget_array_dims....)
You can't create the object and then change the dimensions using OMset_array_size because that required that the array to be changed already BE an array. The object created with OMcreate_obj_from_path is not yet an array.
The module is provided as a simple example for developers, and is not for general use in an application.
n/a
n/a
n/a
This module is for developer information only and does not include an example application, or any other support macros.
iac_proj/mk_array/mkarmods.v contains the MakeArray module V definition.
The low-level MakeArrayMods library containing the module MakeArray does not specify a process. By default the express process will be used.
Leigh J. Grundy, AVS Inc.
Paul G. Lever
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL