Toad World® Forums

Entity category name


#1

I am not very familiar with TDM’s scripting language, so this is a newbie question.

I am trying to list the category assignment of an entity. I have searched the forum and found how to SetLinkedObject but couldn’t find how to get the name of the assigned category. Can you point me in the right direction.

Thanks in advance

Hazi

P.S. Is there a list of object type numbers as in Model.CreateNewObject


#2

Hi,

please read the following blog post:
http://blogs.inside.quest.com/modeling/2010/09/09/categories-and-scripting/

I am not sure what you want to do that’s why you can find three samples/scripts in the article. Feel free to write us again in case you have any question.

Regards,

Vaclav


#3

Thanks it did answer my question.