Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ddProduceObjRelNamesEx

ddProduceObjRelNamesEx(
b_objId 
g_consumer 
g_clientData 
x_pathType
) 
=> t / nil 

Description

Produces the names of all the objects that belong to a library, cell, or view and calls the given function with each name and any provided data structure. This function is similar to ddProduceObjRelNames except that you can specify whether to look for the objects in the temporary directory or the master directory, or both, with the x_pathType argument.

Arguments

b_objId

The parent object.

g_consumer

The g_consumer function should be of the form:
myClient( t_objName, g_clientData ) => t / nil

    • t_objName Is the name of the next objects (directory or file) being produced.
    • g_clientData Is the client data that the producer was given.

g_clientData

Any arbitrary piece of data you want passed to the g_consumer.

x_pathType

One of the following integer values:

    • 0 Looks for b_objId only in the master directory and returns the names of the objects from the master directory only
    • 1 Looks for b_objId only in the temporary directory and returns the names of the objects from the temporary directory only
    • 2 Looks for b_objID in the temporary directory and the master directory and returns all the objects found in both the temporary and master directories

Value Returned

t

g_consumer returned t for each name passed to it.

nil

There are no objects or if the name production is interrupted by a nil return value of g_consumer.

Related Topics

ddProduceObjRelNames


Return to top
 ⠀
X