duplicate()

app.project.item(index).layer(index).propertySpec.duplicate()

Description

If this property is a child of an indexed group, creates and returns a new PropertyBase object with the same attribute values as this one.

If this property is not a child of an indexed group, the method generates an exception and displays an error.

An indexed group has the type PropertyType.INDEXED_GROUP; see PropertyBase propertyType attribute” .

Parameters

None.

Returns

PropertyBase object.

Other Tags

Posted in PropertyBase object and tagged , , , , , , , , , , , .