Jump to content

Search the Community

Showing results for tags 'custom obj'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Announcements
    • Announcements
    • News You Need
    • Job Board
  • Feedback
    • Wishlist - Feature and Content Requests
    • Known Issues
    • Wishes Granted / Issues Resolved
  • General
    • Troubleshooting
    • General Discussion
    • Architecture
    • Site Design
    • Entertainment
    • Vision and Previsualization
    • Braceworks
    • Rendering
    • Workflows
    • Buying and Selling Vectorworks Licenses
  • Customization
    • Marionette
    • Vectorscript
    • Python Scripting
    • SDK
    • 3rd Party Services, Products and Events
  • Solids Modeling and 3D Printing
    • Subdivision
    • Solids Modeling
    • 3D Printing
  • Vectorworks in Action
  • Archive
    • Resource Sharing
    • Machine Design

Categories

  • Knowledgebase
    • Tech Bulletins
    • Troubleshooting
    • Workflows
    • How To
    • FAQs

Categories

  • Marionette - Objects
  • Marionette - Networks
  • Marionette - Nodes
  • Marionette - Menu Commands

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Occupation


Homepage


Hobbies


Location


Skype

Found 1 result

  1. lucioing

    How to set a NEW class

    Hello! I'm unable to set the proper class to a new obj. What's wrong with this? In my opinion, it a very, very simple script, but what I get is not what I need: create a closed parametric polygon (ok) to a class... Thank you L. VW 2017 SP1 Here's the script. PROCEDURE Poly_1; CONST {capitalized to distinguish them from variables} NOTHING=''; VAR s:STRING; i:INTEGER; layerHandle, objectHandle:handle; BEGIN PenSize(14); PenPat(2); FillPat(1); PenFore(0,0,0); PenBack(65535,65535,65535); FillFore(0,0,0); FillBack(52000,52000,52000); NameClass('MyObj'); ClosePoly; BeginPoly; Poly( 0,0, 0,pH1+pH2, pL1,pH1+pH2, pL1,pH1, pL1+pL2,pH1, pL1+pL2,0 ); EndPoly; {objectHandle := LNewObj; <-------- I've tried this way but it doesn't works too SetClass(objectHandle, 'MyObj');} END; Run(Poly_1);

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×