HelpTools[Database] - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : HelpTools : Database : HelpTools/Database/RemoveAttribute

HelpTools[Database]

  

RemoveAttribute

  

set attribute of a help database

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

RemoveAttribute( path, attribute )

Parameters

path

-

string; path to an existing help database

attribute

-

string or symbol; name of the attributes

Description

• 

The RemoveAttribute command removes custom attributes from help database. The built in attributes cannot be removed.

• 

Help database must be writable in order to remove an attribute.

Examples

withHelpTools:withDatabase:

Create help database in home folder that will be accessible after restart

dirStringTools:-Joinkernelopts'homedir',maple,toolbox,UserHelp,lib,kernelopts'dirsep'

dir:=C:\Users\jsmith\maple\toolbox\UserHelp\lib

(1)

ifnotFileTools:-ExistsdirthenFileTools:-MakeDirectorydir,'recurse'=trueend if:

hdbCreatedir

C:\Users\jsmith\maple\toolbox\UserHelp\lib\maple.help

(2)

Set custom attribute

SetAttribute(hdb, 'my attribute', 'true');

Remove custom attribute

RemoveAttribute(hdb, my attribute');

Compatibility

• 

The HelpTools[Database][RemoveAttribute] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

HelpTools[Database][SetAttribute]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam