how to replace Decision Points to Photo Eyes using FlexScript?
Or is there another way without using FlexScript?
how to replace Decision Points to Photo Eyes using FlexScript?
Or is there another way without using FlexScript?
Hi @SeongWeon HONG,
Thank you for contributing to our community! We couldn't identify a maintained license or subscription linked to your account.
You may need to update your profile information to identify yourself as a license owner or their associate. Check out our article for how to ensure you receive timely support. If you update your profile comment back to let us know - we'll adjust the priority of your post accordingly.
If your current license is expired, please contact your local distributor to renew.
Here's an example to try - it uses a user command 'getDPlocation' a temporary Global Table called "DPinfo" and this script:
Table t=Table.query("SELECT getDPlocation(Object) AS Location, Container, Class, DistAlongConveyor, Container, 'Conveyor::PhotoEye' AS NewClass FROM Objects() WHERE Class='Conveyor::DecisionPoint'"); t.cloneTo(Table("DPinfo")); Table.query("DELETE FROM Objects() WHERE Class='Conveyor::DecisionPoint'"); Table.query("INSERT INTO Objects() (Class, Container,Location,DistAlongConveyor) SELECT NewClass, Container, Location, DistAlongConveyor FROM DPinfo");
Thank you very much for your kind and thorough answer.
12 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved