VBScript question
-
iamVFX
- Posts: 697
- Joined: 24 Sep 2010, 16:28
VBScript question
How can I get a value from attribute of the object? For example I have "pointcloud" and I need get ".NbPoints" attribute and set it value to variable N. How can I do that? I will be glad to get any useful links or answers, thanks!
-
xsisupport
- Posts: 713
- Joined: 09 Jun 2009, 09:02
- Location: Montreal Canada
Re: VBScript question
You can get attributes with the ICEAttribute property.
NbPoints is read only.
NbPoints is read only.
Code: Select all
set oAttribute = Selection(0).ActivePrimitive.Geometry.ICEAttributes("NbPoints")
LogMessage "Name: " & oAttribute.Name
LogMessage "Readonly: " & oAttribute.IsReadonly-
iamVFX
- Posts: 697
- Joined: 24 Sep 2010, 16:28