Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
SYNCHRO Construction Solution
  • Product Communities
SYNCHRO Construction Solution
SYNCHRO 4D Wiki How can I assign 3D Objects to Resource based on matching Properties or User Fields?
    • Sign In
    • Features - SYNCHRO 4D Pro
    • Learning Resources
    • -SYNCHRO 4D Wiki
      • -SYNCHRO 4D Pro
        • +SYNCHRO 4D Pro Guide
        • +Plugins and Tools
        • +SYNCHRO 4D Releases
        • -FAQ
          • SYNCHRO 4D Pro - System and Hardware Requirements
          • +General
          • +Import/Export/Synchronise Schedules
          • +Import/Export/Synchronize Models
          • +Scheduling
          • +Resources and Assignments
          • +3D Objects & 3D Paths
          • +3D View
          • +Filtering
          • +User Fields
          • -Project Controls
            • Can we set Appearance Profiles within SYNCHRO Pro, that were defined in P6?
            • How can I assign 3D Objects to Resource based on matching Properties or User Fields?
            • How can I assign a new User Field ‘Test_Field’ to all the Resources that an existing User Field containing 'Exist_Field' in the name?
            • How can I automatically assign Resources with certain UFC to certain Tasks having a a specific Appearance Profile?
            • How can I change the Appearance Profile of all the Resources having a specific Property or User Field Value.
            • How can I see Cost performance Index (CPI) as a column in the Task list?
            • How can I update Task % complete based on the number of Resources assigned to the Task and their actual Resource Status?
            • Is it possible to group 3D components using a 3D User Field, in order to create Resources?
            • Is there a way to display progress rate as a percentage based on a reference date?
            • Using Script to rename tasks
          • +Animations & Reports
          • +Interoperability
          • Installing Synchro 4D using MSI and Silent Deploy Commands
          • Synchro 4D where can I install codecs from?
          • The user not able to see the Synchro 4D print dialog box due to window 11 operating system
          • Updating AMD Graphics Drivers
          • Updating Nvidia Graphic Drivers
        • +SYNCHRO 4D Pro - Troubleshooting
        • +SYNCHRO 4D Pro - Best Practices
        • Unable to install Synchro 4D PRO
      • +SYNCHRO Modeler
      • +SYNCHRO 4D Schedule API
    • Upgrading from SYNCHRO Pro (and SWP) to 4D Pro (and Control)

     
     Questions about this article, topic, or product? Click here. 

    How can I assign 3D Objects to Resource based on matching Properties or User Fields?

    The following sample script assigns all the 3D Objects that are selected and have a User Field Value that matches the name of an existing Resource -
    RESOURCE ASSIGN_OBJECT(VAR 3D(SELECTED AND UFV("User Field")==$0.NAME))

    • Share
    • History
    • More
    • Cancel
    • Alex Buzan Created by Bentley Colleague Alex Buzan
    • When: Mon, Nov 30 2020 10:38 AM
    • Revisions: 1
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies