GageMap Scripting DocumentationΒΆ
- Introduction
- Install GmScript
- Getting Started
- Lua Basics
- Function Groups for Scripting
- GageMap Main Functions for Scripting
- filelist(pattern)
- log(message)
- set_logging(type, state)
- set_overwrite(flag)
- set_logname(filename)
- set_output(path)
- open(filename)
- nnodes()
- ngages()
- ngroups()
- nshapes()
- nmodes()
- nloads()
- node(index)
- group(index)
- list_freq(shape type)
- gage_info(index)
- maxshape(shape_type, shape_index, variable, [min_max], [node_label])
- use_stress(shape_type, setting)
- use_complex(setting)
- set_amp(shape_index, amplitude, shape_type)
- set_rpm(load_index, rpm)
- isRPM(index)
- getRPM(index)
- clear_amps()
- amps([shape_type])
- snapshot(filename)
- view_center(x, y, z)
- view_create(Name, Eye_i, Eye_j, Eye_k, Up_i, Up_j, Up_k)
- view_custom(Name)
- view_reset()
- view_rotate(angle, i_direction, j_direction, k_direction)
- view_setting(Setting, Value)
- view_zoom(scale_factor)
- Animation Functions for Scripting
- Fatigue Functions for Scripting
- open(filename)
- save(filename)
- find_limit(curve_name, static_stress, temperature)
- node(node_label)
- mode_sup(static_type, dynamic_type, mode_scales, [static_case, load_case], [write])
- report_limits(filename, [type])
- report_page(filename, [page], [width], [height])
- report_plot(filename, [page], [row], [column], [width], [height])
- report_sensor(filename, type)
- report_snapshot(filename, type, [detailed])
- limit_export(atCritical, ComponentName, FileName)
- Sensors Functions for Scripting
- name(sensor_index)
- open(filename)
- save(filename)
- report_detail(sensor_name, filename, format)
- report_summary(filename, format)
- mapping_prefs(dir_tol, normal_tol)
- reporting_prefs(strain_type, stress_type, strain_threshold, [report_group])
- cyc_ratio(sensor_name, mode_index, phase, search_variable, norm)
- geom_remap(from_filename, to_filename, (optional) SGA_filename)
- gage_strain(sensor_index, mode_type, mode_index)
- gage_stress(sensor_index, mode_type, mode_index)
- gage_misplacement_coeffs(sensor_index, mode_type, mode_index)
- gage_misplacement_maxmins(sensor_index, mode_type, mode_index)
- gage_perturb(sensor_index, deltaX, deltaY, deltaTheta)
- gage_perturb_X(sensor_index, deltaX)
- gage_perturb_Y(sensor_index, deltaY)
- gage_perturb_Theta(sensor_index, deltaTheta)
- misplacement_prefs(deltaX, deltaY, deltaTheta)
- Group Functions for Scripting
- Optimization Functions for Scripting
- apply()
- open(filename)
- save(filename)
- reset()
- sensor_add(type, quantity, [length, width], [placement_group], [sensitive_group])
- sensor_reset()
- mode(index, enabled, [priority])
- mode_amp(mode_index, min, [max])
- mode_reset()
- amp(min, [redundant_count], [redundant_enabled], [apply_to], [priority])
- run(time, [stop])
- report(filename)
- quantity_optimize(Placmentgroup,sensitiveGroup,length,width,min_ratio,**(OPTIONAL)**report_name)
- apply_design(design_index)
- SDRFM Functions for Scripting
- open(filename)
- save(filename)
- load_shapes(filename)
- load_sensors_sga(filename)
- load_sensors_sdr(filename)
- load_groups(filename)
- nshapes()
- nmodes()
- nloads()
- ngages()
- ngroups()
- group_info(index)
- gage_info(index)
- nnodes()
- node(index)
- shape_info(index,load)
- list_freq(shape type)
- max_phase(mode_index, phase, search_type)
- export_shape(shape_index, real, imaginary, shape_type)
- export_nshapes()
- export_vmode(shape_index, search_type, phase, phase_id, mass_norm, info_mode)
- export_cssmode(shape_index, phase, mass_norm, imaginary)
- export_arithadd(shape_index, real_scale, imaginary_scale, shape_type)
- export_arithdone()
- export_removeshape(shape_index, shape_type)
- export_trim(group, function)
- export_expand(sector)
- export_expand_clr()
- export_expand_opt(axis)
- export_model(file_name)
- load_GBF(file_name)
- save_GBF(file_name)
- Ansys Functions for Scripting
- Export Functions for Scripting
- Collection Functions for Scripting
- Strain Gage Validation Functions for Scripting
![GageMap](_images/gm2.png)