%istemporary operator (SDL script)
This topic applies to TDK SDL script extensions. For more information, see Overview of SDL script extensions for TDK (SDL script).
SDL Script Extensions for TDK:
%object O
O = %current
%if %istemporary O %then
%message "O is a temporary object"
%else
%message "O is an user model object"
%endif
%istemporary returns a logical true value if the subject is a temporary object or a generator model object.