Can the point cloud visibility on off be done in ilogic of inventor

Can the point cloud visibility on off be done in ilogic of inventor

Anonymous
Not applicable
274 Views
1 Reply
Message 1 of 2

Can the point cloud visibility on off be done in ilogic of inventor

Anonymous
Not applicable

Dear Autodesk support,

                      I am trying to use the ilogic of Inventor 2015 and control the visibility on off, but i am unable too.

 

Note:

1) first is there a root by the way i can control it through ilogic like controlling other features....?

2) if how the variables or pre configured strings (if) works..../

3) If it will work can i make it a global use in, by configuring in ribbon so i can use it in part level from assy and in assembly level too.....

 

Looking forward for your reply.

 

 

0 Likes
275 Views
1 Reply
Reply (1)
Message 2 of 2

HermJan.Otterman
Advisor
Advisor

Hello,

 

 

You can use this code:

 

the "1" is the first pointcloud. you can also use the name like this:  item("Single machine:1")

visible:

false for off

True for on

 

oDoc = ThisDoc.Document
Dim oPointcloud As Pointcloud = odoc.componentdefinition.pointclouds.item(1)
oPointcloud.Visible = False

 

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan