PM_DUMP_3DC_SET
Syntax
int_val = PM_DUMP_3DC_SET ( pathname, set, max_segs, max_d [,flags][,failure_rec][,solids_mask][,insulations_flag][,servicespaces_flag][,"tag1", "tag2".,..] );
- Input arguments
-
string pathname The path for the generated 3DC file. handle set The handle of the set of objects to include in the dump. int max_segs Controls the accuracy of faceting in cases where that kind of conversion is required. 'max_segs' gives the maximum number of segments that will be used. There is a system-imposed limit of 72 which will be silently enforced in case there is an attempt to exceed it. float max_d Controls geometric primitives being output as a set of faces in case that kind of conversion is required. 'max_d' gives the maximum difference between the surface and approximating face. This value may be exceeded if the number of segments would become too big.
- Optional input arguments
-
Return Values
- Success:
-
int 0 3DC file successfully generated.
- Failure:
-
int -1 Script interface error.
Description
This function generates a 3DC file. It dumps the geometric model and possibly some optional information for the objects in the set in ASCII format.
At the highest level, this file contains three types of objects:
- component templates
- component instantiations (pumps, standard parts…)
- inline components (steels, air ducts, piping parts)
Component instantiations and inline components may have optional information as requested by the caller.