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

ddGetObjSizeEx

ddGetObjSizeEx( 
b_objId 
x_pathType
) 
=> x_size / -1 

Description

Returns the length of b_objId in bytes. This function is similar to ddGetObjSize except that you can specify whether to look for the object in the temporary directory or the master directory, or both, with the x_pathType argument.

Arguments

b_objId

ID of a file object.

x_pathType

One of the following integer values:

    • 0 Looks for the object only in the master directory
    • 1 Looks for the object only in the temporary directory
    • 2 Looks for the object in the temporary directory first; if it is not found, looks for it in the master directory. However, if the object is a library, returns information about the library itself (the master directory), not its temporary directory.

Value Returned

x_size

The file length, in bytes.

-1

The object is not a file object.

Related Topics

ddGetObjSize


Return to top
 ⠀
X