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

ddReleaseObj

ddReleaseObj( 
b_objId 
) 
=> t / nil 

Description

When you find an object using write (w) or append (a) mode, and the object and its parents do not yet exist, ddGetObj creates the object and its parents in the file system. The effect of this action is to make them visible in the browser and to permit us to designate file as a Master. After you close the file, you should call ddReleaseObj, which then deletes the file if you did not save it yet.

DDPI looks for the file designated by obj. If its size is zero, DDPI deletes it. (If the file exists in both the temporary and master directories, its size must be zero in both the directories for DDPI to delete it.) After you close the file, call ddReleaseObj, which deletes the file if you did not save it yet. If it is a viewFile and it is a Master with size zero, DDPI deletes the entire view.

Arguments

b_objId

The ID of the object you want to release.

Value Returned

t

The object was released.

nil

b_objId was not a valid object, or one of the PreDeleteObj triggers returns nil.

Examples

ddReleaseObj( viewFileId ) => t 

Return to top
 ⠀
X