map_topocomplete

Land Desktop Development ARX CPP SDK

Up a level
map_topocomplete
 
 

Completes all objects in a loaded partial topology.

int

map_topocomplete(

char *toponame,

ads_name ssreturn);

Returns RTNORM or RTERROR.

toponame The name of the topology to complete. The topology must be closed.
ssreturn The returned selection set of objects retrieved to complete the topology.

This function returns the selection set through the ssreturn parameter. If the function returns RTNORM, you must release the returned selection set with the ads_ssfree function.

This function performs a query to retrieve objects into the work session. The tpm_infocomplete function determines whether the topology is completely represented in the work session.

This function can only complete objects imported from an existing source drawing. For a polygon topology, this function imports links, nodes, and a centroid, if it is missing, from the source drawing. For a network topology, this function imports links and nodes. For a network topology, it imports only nodes.