BPY plus – names module

A BPY plus module to simplify work with object names.


Names class

clear(name: str)

Return object’s name without numeric postfix (001, etc)

Parameters:

name – the name of the object

Returns:

Object’s name without postfix


increase(name: str)

Return object’s name with increased index (.001 -> .002)

Parameters:

name – the name of the object

Returns:

Object’s name with increased index

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments