Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Key-in to change Arc Angle in Cloud tool
    • Sign In

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • -Base Geometry - MicroStation
          • Construct center line element between two curves/lines
          • Free-hand drawing or tracing capability in MicroStation
          • How can you place closed bspline curve with a fill?
          • How to apply gradient color to a closed shape or circle using two colors darker at the edges and lighter to center?
          • How to change fill when closing a Smartline
          • How to copy elements from one DGN file to another
          • How to Drop a Bspline Curve
          • How to offset a curve in 3D?
          • How to set boundary and fill with different transparency
          • How to set the active color as RGB Colors by keyin
          • Key-in to change Arc Angle in Cloud tool
          • Limit of vertices of shape/linestring (max number of vertices).
          • Matching Element Attributes
          • Quick way of matching element attribute
          • Tool icon not highlighting
          • Two handles at same point in a Complex Chain
          • V7 Complex Shape error
          • What does the elevation field represent?
          • What happened to drop bspline curve tool?
          • Where are the Points tools located?
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Printing and Plotting
    • +Programming Wiki
    • +Visualization Wiki
    • Window List Dialog for Missing Tool Dialog Boxes

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

    Key-in to change Arc Angle in Cloud tool

      Product: MicroStation
      Version: CONNECT
      Environment: N\A
      Area: Base Geometry
      Subarea: N\A

    Problem

    Key-in to change Arc Angle in Cloud tool.

    From User…
    How can I set default revision cloud settings.

    Solution

    There is no key-in to set Arc Angle, Radius. However, you can record a Macro, set the required parameters and save it as a VBA.

    Check this Wiki for Macro recording.

    Here is a sample recorded VBA that has been edited to place clouds with Angles 100, 120. 

    Sub CloudAng100()
    '   Send a keyin that can be a command string
        CadInputQueue.SendKeyin "place revcloud points"
     
    '   Set a variable associated with a dialog box
        SetCExpressionValue "cloudParams.radius", (ActiveModelReference.UORsPerMasterUnit * 0), "CURVE"
        SetCExpressionValue "cloudParams.sweepAngle", 100, "CURVE"
    End Sub
    
    Sub CloudAng120()
    '   Send a keyin that can be a command string
        CadInputQueue.SendKeyin "place revcloud points"
     
    '   Set a variable associated with a dialog box
        SetCExpressionValue "cloudParams.radius", (ActiveModelReference.UORsPerMasterUnit * 0), "CURVE"
        SetCExpressionValue "cloudParams.sweepAngle", 120, "CURVE"
    End Sub

    Check this Wiki for executing VBAs via key-ins.

    Following are sample Key-ins to Load and Execute VBAs.
    macro vba load TestCloud; macro vba execute CloudAng100
    macro vba load TestCloud; macro vba execute CloudAng120

    VBA attached for reference.

    TestCloud.mvba

    See Also

    Cloud Tool

    Editing Cloud tool settings

    Other Language Sources

      Original Author: Leonard Jones
    • VBA
    • cloud
    • MicroStation Connect Edition
    • Share
    • History
    • More
    • Cancel
    • Leonard Jones Created by Bentley Colleague Leonard Jones
    • When: Mon, Feb 13 2023 8:13 AM
    • Leonard Jones Last revision by Bentley Colleague Leonard Jones
    • When: Mon, Feb 13 2023 8:16 AM
    • Revisions: 2
    • 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