<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Every STD library function in powermill. in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13830727#M32957</link>
    <description>&lt;P&gt;some functions are missing eg:&lt;/P&gt;&lt;P&gt;string substring(string input, int startindex, int length) and its overload&amp;nbsp;substring(string input, int startindex) etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also how do those work?:&lt;/P&gt;&lt;P&gt;dec_to_bin - Convert from decimal to binary representation.&lt;BR /&gt;dec_to_hex - Convert from decimal to hexadecimal representation.&lt;BR /&gt;hex_to_dec - Convert from hexadecimal to decimal representation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i cant get them to work also never saw em &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Sep 2025 07:10:47 GMT</pubDate>
    <dc:creator>icse</dc:creator>
    <dc:date>2025-09-30T07:10:47Z</dc:date>
    <item>
      <title>Every STD library function in powermill.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13829974#M32955</link>
      <description>&lt;P&gt;## COMPLETE FUNCTION REFERENCE (Organized by Category)&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;##&amp;nbsp; **MATHEMATICAL &amp;amp; TRIGONOMETRIC FUNCTIONS** (16 functions)&lt;/P&gt;&lt;P&gt;abs - Absolute (positive value).&lt;BR /&gt;acos - Trigonometric arccosine.&lt;BR /&gt;angle - Get unsigned angle between two vectors.&lt;BR /&gt;apparent_angle - Given a reference vector, get signed angle between two vectors.&lt;BR /&gt;asin - Trigonometric arcsine.&lt;BR /&gt;atan - Trigonometric arctangent.&lt;BR /&gt;atan2 - Trigonometric arctangent with quadrant determination.&lt;BR /&gt;azimuth - Get Azimuth from vector&lt;BR /&gt;compare - Compare the equality of two values to a tolerance.&lt;BR /&gt;distance - distance(pt1, pt2) : distance between two points.&lt;BR /&gt;elevation - Get Elevation from vector&lt;BR /&gt;equiv - equiv(val1, val2, tolerance) : Compare the equality of two values to a tolerance.&lt;BR /&gt;ln - Natural (base e) logarithm.&lt;BR /&gt;log - Base 10 logarithm.&lt;BR /&gt;normal - Get normal vector from three points.&lt;BR /&gt;parallel - parallel(vec1, vec2, tolerance) : Returns true if vectors are parallel.&lt;BR /&gt;round - Round to nearest integer.&lt;BR /&gt;sin - Trigonometric sine.&lt;BR /&gt;sqrt - Square root.&lt;BR /&gt;tan - Trigonometric tangent.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **STRING MANIPULATION FUNCTIONS** (15 functions)&lt;/P&gt;&lt;P&gt;basename - Strip directory from filepath strings.&lt;BR /&gt;contains_string - contains_string(str, sub) : Determines if 'str' contains the substring 'sub'.&lt;BR /&gt;dirname - Extract directory from filepath strings.&lt;BR /&gt;float_format - float_format(val, precision) : Format a floating point number.&lt;BR /&gt;format_number - format_number(val, digits, grouping) : Format a number.&lt;BR /&gt;format_time - format_time(seconds, precision) : Format time.&lt;BR /&gt;join - join(list, separator) : Join list elements into a single string.&lt;BR /&gt;lcase - lcase(str) : Convert string to lower case.&lt;BR /&gt;ltrim - ltrim(str) : Remove whitespace from start of string.&lt;BR /&gt;replace - replace(str, old, new) : Replace substrings.&lt;BR /&gt;rtrim - rtrim(str) : Remove whitespace from end of string.&lt;BR /&gt;str_replace - str_replace(str, old, new) : Replace substrings.&lt;BR /&gt;time_string - time_string(seconds) : Convert seconds to time string.&lt;BR /&gt;time_to_string - time_to_string(seconds) : Convert seconds to time string.&lt;BR /&gt;tokens - tokens(str) : Returns a list of delimited tokens str.&lt;BR /&gt;trim - trim(str) : Remove whitespace from both ends of string.&lt;BR /&gt;ucase - ucase(str) : Convert string to upper case.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **LIST &amp;amp; COLLECTION OPERATIONS** (24 functions)&lt;/P&gt;&lt;P&gt;add_first - add_first(list, item) : Add item into start of list.&lt;BR /&gt;add_last - add_last(list, item) : Add item onto end of list.&lt;BR /&gt;apply - apply(list, expression) : Returns a list of results obtained by applying expression to each element in the i&lt;BR /&gt;list&lt;BR /&gt;concatenate - concatenate(list1, list2) : Add list2 onto the end of list1.&lt;BR /&gt;contains - contains(container, item) : Returns true if item is present in the container.&lt;BR /&gt;extract - extract(list, expression) : Extract data from a list.&lt;BR /&gt;filter - filter(list, condition) : Filter data from a list.&lt;BR /&gt;flatten - flatten(list) : Return a flattened version of the list.&lt;BR /&gt;intersection - intersection(list1, list2) : Returns a list containing values that are in both lists.&lt;BR /&gt;is_empty - is_empty(list) : Returns true if the list is empty.&lt;BR /&gt;key_first - key_first(map) : get the first key from the map&lt;BR /&gt;max - max(list) : Return maximum value from list.&lt;BR /&gt;mean - mean(list) : Return mean value from list.&lt;BR /&gt;member - member(list, item) : Returns true if item is a member of the list.&lt;BR /&gt;min - min(list) : Return minimum value from list.&lt;BR /&gt;remove - remove(list, item) : Remove item from list.&lt;BR /&gt;remove_duplicates - remove_duplicates(list) : Remove duplicate entries from list.&lt;BR /&gt;remove_first - remove_first(list) : Remove and return first item from list.&lt;BR /&gt;remove_last - remove_last(list) : Remove and return last item from list.&lt;BR /&gt;reverse - reverse(list) : Reverse a list.&lt;BR /&gt;size - size(list) : Get the number of items in the list.&lt;BR /&gt;slice - slice(list, start, end) : Get a slice of a list.&lt;BR /&gt;sort - sort(list) : Sort a list.&lt;BR /&gt;sum - sum(list) : Return sum of values in list.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **TYPE CONVERSION FUNCTIONS** (8 functions)&lt;/P&gt;&lt;P&gt;bool - Convert to boolean value.&lt;BR /&gt;dec_to_bin - Convert from decimal to binary representation.&lt;BR /&gt;dec_to_hex - Convert from decimal to hexadecimal representation.&lt;BR /&gt;hex_to_dec - Convert from hexadecimal to decimal representation.&lt;BR /&gt;int - Convert to integer value.&lt;BR /&gt;real - Convert to real value.&lt;BR /&gt;str - Convert to string value.&lt;BR /&gt;type - type(obj) : Get type of object.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **ENTITY MANAGEMENT FUNCTIONS** (35 functions)&lt;/P&gt;&lt;P&gt;activate_entity - Make an entity the active one of its type&lt;BR /&gt;add_entity - Add an entity to a group or setup&lt;BR /&gt;calculate_entity - Calculate entity given a type-name and &amp;lt;name&amp;gt;&lt;BR /&gt;clone_entity - Clone a toolpath or boundary&lt;BR /&gt;count_entity_type - Count of entities of given entity type&lt;BR /&gt;create_boundary_level_from_string - Create boundary level. You specify the level by name&lt;BR /&gt;create_line_entity - Create a line entity from two points&lt;BR /&gt;create_ncprogram - Create a nc program in the project&lt;BR /&gt;create_ncsetup - Create a nc setup in the project&lt;BR /&gt;create_point_entity - Create point entity from coordinates&lt;BR /&gt;create_polygon_entity - Create a polygon entity from a list of points&lt;BR /&gt;create_sequence - Create a new sequence of existing entities&lt;BR /&gt;create_toolaxis_level_from_string - Create toolaxis level. You specify the level by name&lt;BR /&gt;create_toolpath - Create a toolpath&lt;BR /&gt;delete_entity - Delete an entity&lt;BR /&gt;delete_ncprogram - Delete NC program by name&lt;BR /&gt;delete_ncsetup - Delete NC setup by name&lt;BR /&gt;delete_sequence - Delete sequence by name&lt;BR /&gt;downcast - downcast(entity) : downcast an entity to its implementation type&lt;BR /&gt;ensure_entity_calculated - Ensure that an entity is calculated. Return 1 if successful, 0 otherwise.&lt;BR /&gt;entitiy_from_name - Find entity with specified name, of specified type.&lt;BR /&gt;entities_equivalent - Check whether two entities are equivalent.&lt;BR /&gt;entity_dependency_changed - Entity Dependency Changed&lt;BR /&gt;entity_exists - entity_exists(entity) : Returns true if the specified entity exists.&lt;BR /&gt;entity_modified - entity_modified(entity, recursive) : Returns true if the entity has been modified since last&lt;BR /&gt;calculated.&lt;BR /&gt;entity_tooltip - Return the tooltip string for entity&lt;BR /&gt;entity_tree_node - Get tree node for entity&lt;BR /&gt;entity_tree_nodes - Get tree nodes for entity type&lt;BR /&gt;entity_visible - entity_visible(entity) : Returns true if the specified entity is currently visible.&lt;BR /&gt;export_entity - Export Entity&lt;BR /&gt;find_entity - Find an entity in the project&lt;BR /&gt;frozen - frozen(entity) : Returns true if the specified entity is frozen.&lt;BR /&gt;invalidate_entity - Mark an entity as requiring calculation&lt;BR /&gt;length - length(entity) : Length of an entity.&lt;BR /&gt;locked - locked(entity) : Returns true if the specified entity is locked.&lt;BR /&gt;lockers - lockers(entity) : Return list of entities locking this entity&lt;BR /&gt;new_entity_name - Generate a new entity name&lt;BR /&gt;next_in_sequence - Get next entity in sequence&lt;BR /&gt;pathname - pathname(entity) : Return full pathname of entity.&lt;BR /&gt;position - position(entity) : Get position vector of entity.&lt;BR /&gt;rename_entity - Rename an entity&lt;BR /&gt;search_entity - Search for entity by name&lt;BR /&gt;select_entity - Select an entity&lt;BR /&gt;sequenced_entity - Get sequenced entity&lt;BR /&gt;sequenced_entities - Get all sequenced entities&lt;BR /&gt;set_entity_position_in_folder - Set the position of an entity in its folder&lt;BR /&gt;trunk - trunk(entity) : Trunk this entity&lt;BR /&gt;unique_entity_type - Get unique entity type for entity&lt;BR /&gt;valid_entity - valid_entity(entity) : Returns true if the specified entity is valid.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **TOOLPATH ANALYSIS &amp;amp; MANIPULATION** (45 functions)&lt;/P&gt;&lt;P&gt;boundary_entirely_contains_toolpath - Find whether a closed boundary entirely contains the toolpath, when looking do&lt;BR /&gt;given view.&lt;BR /&gt;boundary_segment_count - Get the number of segments in a boundary&lt;BR /&gt;check_multiaxis - Returns true if given toolpath is multiaxis&lt;BR /&gt;check_normals - Returns true if given toolpath has normals&lt;BR /&gt;check_order - Checks segment closest to point (x1,y1,z1) is in a segment ordered before segment closest to point (x2&lt;BR /&gt;z2).&lt;BR /&gt;check_rest_finishing_toolpath - Test the reliability of the rest finishing toolpath&lt;BR /&gt;check_tool_axis - Check tool axis&lt;BR /&gt;check_tool_orientation - Check tool axis&lt;BR /&gt;check_toolpath_start_point_block - Check the toolpath start point against the block.&lt;BR /&gt;closest_point_in_layer - Returns a map describing the toolpath point within the specified layer that is closest to t&lt;BR /&gt;specified point&lt;BR /&gt;closest_point_on_toolpath - Find the point on the toolpath which is closest to the given one.&lt;BR /&gt;component_get_colliding_section - Retrieve information about a colliding section of a toolpath component&lt;BR /&gt;component_get_length - Get the length of a toolpath component&lt;BR /&gt;component_has_point_parameter - Return value indicates whether the named point parameter is present on at least one&lt;BR /&gt;point of the specified toolpath component.&lt;BR /&gt;component_list_distance_along - Get the list of distances along a toolpath component at which the named point parame&lt;BR /&gt;changes value&lt;BR /&gt;component_parameters_names - Get the list of named point parameters associated with the toolpath component.&lt;BR /&gt;component_remove_point_parameter - Remove named point parameter from all points of the toolpath component.&lt;BR /&gt;component_segment_midpoint - Find the point at the centre of the given segment of the given component.&lt;BR /&gt;components - components(entity) : get a list of the components for a toolpath or area clearance stock.&lt;BR /&gt;current_region - The name of the currently selected curve/region for the active toolpath&lt;BR /&gt;first_segment_feed_rate - Get the feed rate of the first segment of a toolpath&lt;BR /&gt;get_toolpath_block_extents - Get the extents of the toolpath as clipped by the block&lt;BR /&gt;get_toolpath_extents - Get the extents of the toolpath&lt;BR /&gt;group_toolpaths_by_workplanes - Return map from workplane names to lists of toolpaths in those workplanes.&lt;BR /&gt;is_toolpath_empty - is_toolpath_empty(entity) : Returns true if the specified toolpath is empty&lt;BR /&gt;num_toolpath_segments_inside_boundary - Get the number of toolpath segments that are inside the boundary&lt;BR /&gt;num_toolpath_segments_outside_boundary - Get the number of toolpath segments that are outside the boundary&lt;BR /&gt;num_tp_segments_inside_2d_box - Get the number of toolpath segments inside a 2d bounding box&lt;BR /&gt;num_tp_segments_inside_box - Get the number of toolpath segments inside a bounding box&lt;BR /&gt;num_tp_segments_outside_2d_box - Get the number of toolpath segments outside a 2d bounding box&lt;BR /&gt;number_toolpath_components - Get the number of components for the toolpath&lt;BR /&gt;point_add_parameter - Add named point parameter to toolpath component point.&lt;BR /&gt;point_parameters - Get the list of named point parameters associated with the toolpath component point.&lt;BR /&gt;point_remove_parameter - Remove named point parameter from toolpath component point.&lt;BR /&gt;point_remove_parameters - Remove all named point parameters from toolpath component point.&lt;BR /&gt;segment_get_length - Get the length of a toolpath segment&lt;BR /&gt;segment_has_leadin - Checks whether the specified segment is preceded by a lead in&lt;BR /&gt;segment_has_leadout - Checks whether the specified segment is followed by a lead out&lt;BR /&gt;segments - segments(entity) : get the number of segments for a toolpath.&lt;BR /&gt;segments_inside_boundary - Get toolpath segments that are inside the boundary&lt;BR /&gt;segments_outside_boundary - Get toolpath segments that are outside the boundary&lt;BR /&gt;toolpath_components_inside_boundary - Get toolpath components that are inside the boundary&lt;BR /&gt;toolpath_components_outside_boundary - Get toolpath components that are outside the boundary&lt;BR /&gt;toolpath_extents - toolpath_extents(entity) : Get the extents of the toolpath.&lt;BR /&gt;toolpath_parameters - Get toolpath parameters&lt;BR /&gt;toolpath_rapid_feed_rate - Get rapid feed rate of toolpath&lt;BR /&gt;toolpaths_in_workplane - toolpaths_in_workplane(workplane) : Return list of toolpaths in given workplane.&lt;BR /&gt;toolpaths_workplane - toolpaths_workplane(toolpath) : Return workplane of toolpath.&lt;BR /&gt;tp_has_check_multiaxis - Check if toolpath has check multiaxis enabled&lt;BR /&gt;tp_has_check_normals - Check if toolpath has check normals enabled&lt;BR /&gt;tp_has_check_tool_axis - Check if toolpath has check tool axis enabled&lt;BR /&gt;tp_has_check_tool_orientation - Check if toolpath has check tool orientation enabled&lt;BR /&gt;valid_toolpath_start_point_block - Validate toolpath start point against block.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **COLLISION DETECTION &amp;amp; SAFETY** (15 functions)&lt;/P&gt;&lt;P&gt;collisions_between - Collisions between&lt;BR /&gt;collisions_involving - Collisions involving&lt;BR /&gt;detect_holder_collisions - Detect holder collisions for the active toolpath.&lt;BR /&gt;detect_holder_near_misses - Detect holder near misses for the active toolpath.&lt;BR /&gt;detect_leadinout_collisions - Detect leadinout collisions for the active toolpath.&lt;BR /&gt;detect_leadinout_near_misses - Detect leadinout near misses for the active toolpath.&lt;BR /&gt;detect_shank_collisions - Detect shank collisions for the active toolpath.&lt;BR /&gt;detect_shank_near_misses - Detect shank near misses for the active toolpath.&lt;BR /&gt;detect_tool_collisions - Detect tool collisions for the active toolpath.&lt;BR /&gt;detect_tool_near_misses - Detect tool near misses for the active toolpath.&lt;BR /&gt;reset_holder_safety_status - Reset holder safety status for the active toolpath.&lt;BR /&gt;reset_safe_areas - Reset safe areas&lt;BR /&gt;reset_toolpath_safety_status - Reset toolpath safety status for the active toolpath.&lt;BR /&gt;user_wants_fast_compute - Check if user wants fast compute&lt;BR /&gt;wait_entity_calculation_finished - Wait for entity calculation to finish&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **MACHINE &amp;amp; COORDINATE OPERATIONS** (12 functions)&lt;/P&gt;&lt;P&gt;machine - machine(entity) : Get a map of the current machine coordinates for a given point.&lt;BR /&gt;machine_axis - machine_axis(name) : get the machine axis&lt;BR /&gt;machine_head_coordinates - Get the machine head coordinates&lt;BR /&gt;machine_table_coordinates - Get the machine table coordinates&lt;BR /&gt;point_to_work - point_to_work(point) : Transform a point from world coordinates to workplane coordinates.&lt;BR /&gt;point_to_world - point_to_world(point) : Transform a point from workplane coordinates to world coordinates.&lt;BR /&gt;robot_has_posture - Test if robot has posture&lt;BR /&gt;robot_linear_axis_position - Get robot linear axis position&lt;BR /&gt;robot_linear_axis_position_check - Check robot linear axis position&lt;BR /&gt;robot_rotary_axis_position - Get robot rotary axis position&lt;BR /&gt;robot_rotary_axis_position_check - Check robot rotary axis position&lt;BR /&gt;same_workplane - same_workplane(entity1, entity2) : Check if entities are on same workplane.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **TIME &amp;amp; PERFORMANCE MONITORING** (12 functions)&lt;/P&gt;&lt;P&gt;cycle_time - Time taken to compute the active toolpath&lt;BR /&gt;get_machining_time - Get the estimated machining time for the specified entity.&lt;BR /&gt;get_rapid_time - Get rapid time&lt;BR /&gt;get_segmentation_time - Get segmentation time&lt;BR /&gt;get_verification_time - Get verification time&lt;BR /&gt;local_time - Get local time&lt;BR /&gt;max_cutting_toolaxis_elevation_change_degrees - Maximum cutting toolaxis elevation change in degrees&lt;BR /&gt;max_cutting_toolaxis_elevation_degrees - Maximum cutting toolaxis elevation in degrees&lt;BR /&gt;min_cutting_toolaxis_elevation_degrees - Minimum cutting toolaxis elevation in degrees&lt;BR /&gt;orientation_vector_direction - Get orientation vector direction&lt;BR /&gt;tkfactor - Get current tkfactor&lt;BR /&gt;wait - wait(seconds) : Wait for specified time.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **PROJECT &amp;amp; WORKSPACE MANAGEMENT** (20 functions)&lt;/P&gt;&lt;P&gt;active_folder - Get the active folder for an entity type.&lt;BR /&gt;default_file_path - Gets the default file path.&lt;BR /&gt;folder - folder(entity_type) : returns a list of entities of the given type&lt;BR /&gt;folder_path - Get folder path for entity&lt;BR /&gt;has_setup - Check if the entity has a setup&lt;BR /&gt;macro_path - macro_path(level) : Returns the path of the calling macro.&lt;BR /&gt;nc_setup - Get nc setup for entity&lt;BR /&gt;parent - parent(entity) : Return the parent of an entity&lt;BR /&gt;parent_setup - Get parent setup for entity&lt;BR /&gt;path_join - path_join(path, ...) : Join path elements.&lt;BR /&gt;path_safe_to_resolve - path_safe_to_resolve(path) : Returns true if resolving path is safe.&lt;BR /&gt;project_locked - project_locked() : Returns true if the project is locked.&lt;BR /&gt;project_modified - project_modified() : Returns true if the project is modified.&lt;BR /&gt;project_pathname - project_pathname(level) : Get project path.&lt;BR /&gt;project_readonly - project_readonly() : Returns true if the project is read only.&lt;BR /&gt;pwd - pwd() : Get current working directory.&lt;BR /&gt;read_session - read_session(filename) : Read session data from a file.&lt;BR /&gt;setup_exists - Check if setup exists&lt;BR /&gt;workplane_rel_limits - workplane_rel_limits(entity) : Get workplane-relative limits of entity.&lt;BR /&gt;limits_workplane_rel - limits_workplane_rel(entity) : Get workplane-relative limits of entity.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **FILE &amp;amp; SYSTEM OPERATIONS** (14 functions)&lt;/P&gt;&lt;P&gt;dir_exists - dir_exists(dirname) : Returns true if the specified directory exists.&lt;BR /&gt;empty_directory - empty_directory(dirname) : Returns true if the specified directory is empty.&lt;BR /&gt;file_exists - file_exists(filename) : Returns true if the specified file exists.&lt;BR /&gt;list_files - Get list of files&lt;BR /&gt;recent_files - Get list of recent files&lt;BR /&gt;unzip - unzip(zipfile, destination) : Unzip a file.&lt;BR /&gt;zip - zip(file1, file2) : Create zip file.&lt;BR /&gt;zip_files - zip_files(filelist, destination) : Create zip file from list of files.&lt;BR /&gt;download_from_cloud - Download data from autodesk drive and return as string.&lt;BR /&gt;upload_to_cloud - Upload data to autodesk drive.&lt;BR /&gt;memory_state - Get memory state&lt;BR /&gt;is_debug_build - Test if this is a debug build&lt;BR /&gt;is_release_build - Test if this is a release build&lt;BR /&gt;on_mac - Test if running on a mac&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **USER INTERFACE &amp;amp; INTERACTION** (12 functions)&lt;/P&gt;&lt;P&gt;checked_list_rows - Get an array containing the checked status of each row in a list widget&lt;BR /&gt;list_cell_value - Get the value from the specified row and column of a list widget&lt;BR /&gt;list_num_rows - Get the number of rows in a list widget&lt;BR /&gt;number_selected - Get number of selected entities of given type&lt;BR /&gt;ribbon_active_tab - Get the name of the active ribbon tab&lt;BR /&gt;unchecked_list_rows - Get an array containing the unchecked row indices in a list widget&lt;BR /&gt;block_drawn - Is the block currently drawn?&lt;BR /&gt;help - help() : Get textual description of the help.&lt;BR /&gt;if - if(condition, then_value, else_value) : Conditional expression.&lt;BR /&gt;issecurity - Check security status&lt;BR /&gt;reset_all_preview - Reset all entity preview to none&lt;BR /&gt;string_test - Perform string test&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **TOOL &amp;amp; COMPONENT MANAGEMENT** (15 functions)&lt;/P&gt;&lt;P&gt;add_holder_component - Add holder component to tool&lt;BR /&gt;add_shank_component - Add shank component to tool&lt;BR /&gt;count_nctoolpaths - Get count of NC toolpaths in setup&lt;BR /&gt;get_default_tool_overhang - Get the tool overhang value&lt;BR /&gt;list_nctools - Get list of NC tools for setup&lt;BR /&gt;nctoolpath_fixtureoffset - Get fixture offset for nc toolpath&lt;BR /&gt;number_nctoolpaths - Get number of NC toolpaths in setup&lt;BR /&gt;number_nctools - Get number of NC tools for setup&lt;BR /&gt;cut_value - Cut percentage value&lt;BR /&gt;port_machining - Returns whether port machining is enabled&lt;BR /&gt;subnc_name - Get subnc name&lt;BR /&gt;subnc_workplanes - Get subnc workplanes&lt;BR /&gt;add_line_to_pattern - Create a line pattern from two points&lt;BR /&gt;make_sequence - Make a sequence&lt;BR /&gt;map_key - map_key(name, ...) : Build a hierarchical key string.&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **GEOMETRY &amp;amp; MEASUREMENT** (18 functions)&lt;/P&gt;&lt;P&gt;add_all_surfaces_to_level - Add all surfaces to level&lt;BR /&gt;add_all_walls_to_level - Add all surfaces to level&lt;BR /&gt;add_level_to_thickness_slot - Add the components in the level/set to a thickness slot&lt;BR /&gt;add_surface_to_level - Add named surface to level&lt;BR /&gt;clamp_level - Set or unset a clamp level&lt;BR /&gt;copy_thickness_sets - Update the thickness slot parameters&lt;BR /&gt;delete_level_from_thickness_slot - Remove the thickness slot with the specified name&lt;BR /&gt;extract_thickness_from_string - Extract the distance value from the thickness string&lt;BR /&gt;get_thickness_distance - Get the distance value from the thickness string&lt;BR /&gt;get_thickness_thicknessset - Get the thickness set name from the thickness string&lt;BR /&gt;level_entity - Return 1 if the type of the level is 'level'&lt;BR /&gt;limits - limits(entity) : Get world limits of entity.&lt;BR /&gt;model_components_thicknessset - Get the components for the thickness set&lt;BR /&gt;number_of_components_in_layer - Get the number of components for the layer&lt;BR /&gt;thickness_slots - Get thickness slots&lt;BR /&gt;update_thickness_slot_for_toolpath - Update the thickness slot&lt;BR /&gt;update_toolpath_level_for_model - Update the toolpath level for the model&lt;BR /&gt;model_tree_node - Get tree node for model&lt;BR /&gt;model_tree_nodes - Get tree nodes for model&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;## **ADVANCED FEATURES &amp;amp; TESTING** (20 functions)&lt;/P&gt;&lt;P&gt;active - Returns true if the parameter is active.&lt;BR /&gt;available_preview_levels - Get a list of the available preview levels.&lt;BR /&gt;check_degouging_filter - Test that the degouging filter is working as expected&lt;BR /&gt;check_perimeter_calculation - Test surface perimeter calculation is working as expected&lt;BR /&gt;clear_area_clearance_cache - Clear the cache used by area clearance&lt;BR /&gt;clear_breaks - Remove all progress break simulation points set by set_break().&lt;BR /&gt;clear_inclined_flats_cache - Clear the cache used by inclined flats&lt;BR /&gt;desc - desc(obj) : Get textual description of the object.&lt;BR /&gt;edit_undo - Performs an edit undo&lt;BR /&gt;get_break_point - Get the point on which the break was set during simulation.&lt;BR /&gt;get_param - Get parameter value&lt;BR /&gt;installed_plugins - Get list of installed plugins&lt;BR /&gt;issues_of_type - Issues of type&lt;BR /&gt;key_remainder - key_remainder(key) : Returns the remainder part of a key&lt;BR /&gt;pmill_version - Get PowerMill version&lt;BR /&gt;reset_block - Reset the block&lt;BR /&gt;reset_debug_toolpaths - Reset debug toolpath list&lt;BR /&gt;set_param - Set parameter value&lt;BR /&gt;set_status - Set status&lt;BR /&gt;suppressing_prerelease_preview_levels - Create a job instruction and return its data.&lt;BR /&gt;value_list - Get value list&lt;BR /&gt;version - Get version&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 16:28:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13829974#M32955</guid>
      <dc:creator>MitchPflederer</dc:creator>
      <dc:date>2025-09-29T16:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Every STD library function in powermill.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13830727#M32957</link>
      <description>&lt;P&gt;some functions are missing eg:&lt;/P&gt;&lt;P&gt;string substring(string input, int startindex, int length) and its overload&amp;nbsp;substring(string input, int startindex) etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;also how do those work?:&lt;/P&gt;&lt;P&gt;dec_to_bin - Convert from decimal to binary representation.&lt;BR /&gt;dec_to_hex - Convert from decimal to hexadecimal representation.&lt;BR /&gt;hex_to_dec - Convert from hexadecimal to decimal representation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i cant get them to work also never saw em &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 07:10:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13830727#M32957</guid>
      <dc:creator>icse</dc:creator>
      <dc:date>2025-09-30T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Every STD library function in powermill.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13831174#M32959</link>
      <description>&lt;P&gt;This is just a print out of the PowerMill standard library using a macro, so a lot of these functions aren't documented and you have to just play around and guess at what the function arguments are. And some very well might not have any use for the end user, but it's fun to play around with them. So you just have to test out as many ways to use a function as possible until you land on something that works.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 13:20:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13831174#M32959</guid>
      <dc:creator>Sean571</dc:creator>
      <dc:date>2025-09-30T13:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Every STD library function in powermill.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13831407#M32960</link>
      <description>&lt;P&gt;I wish all of these were documented, with links to each one. Examples would also be helpful. That would make it a valuable resource. As it stands now, it’s just not useful at all.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 15:53:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13831407#M32960</guid>
      <dc:creator>artur.boszczyk</dc:creator>
      <dc:date>2025-09-30T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Every STD library function in powermill.</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13864627#M33015</link>
      <description>&lt;P&gt;links would be great!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 21:32:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/every-std-library-function-in-powermill/m-p/13864627#M33015</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2025-10-23T21:32:26Z</dc:date>
    </item>
  </channel>
</rss>

