Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbHostAppServices::getPassword Method
Syntax
C++
virtual bool getPassword(const OdString& dwgName, bool isXref, OdPassword& password);

Notification function called whenever a drawing file requires a *password.* 

 

Parameters
Description
dwgName
[in] Drawing file requiring the password.
isXref
[in] True if and only if the drawing file is being opened as an Xref.
password
[out] Password.

Prompts the user for a password and returns said password. 

Returns false if the user cancels the password entry, or if there is no user. 

The default implementation of this function does nothing but return false.

Copyright © 2002-2022. Open Design Alliance All rights reserved.