Index

CDTDocV8

ObjSet

The ObjSet function changes the numerical value and text description associated with an exiting PowerDoc object.

Parameters

ParameterDescription

obj

Object's index in the Power Engine document.

name

A numerical user-defined value to be associated with the PowerDoc object.

desc

A valid pointer to the standard ANSI C/C++ string which holds a user-defined text description to be associated with the PowerDoc object.

Return Value

If the change was successful, the return value is 1. Otherwise, the function returns 0 (bad input) or -1 (memory error).



 

Index