Jump to content

michaelk

Moderator
  • Posts

    6,389
  • Joined

  • Last visited

Posts posted by michaelk

  1. 1 hour ago, Mark Aceto said:

    For clarification, it's not a hybrid symbol; it's an auto-hybrid plugin object. That means VW is drawing the 2D in real time parametrically based on the... parameters... entered in the OIP.

     

    Good point, Mark.

     

    It's confusing because they both live in the same place in the resource manager and only the color of the name sets them apart.  

  2. PS iF you use the HVAC Elbow Duct Tool in the MEP toolset and set the values to be Type: Round and the angle to be 90 you will get the same object.

     

    In the OIP go to Style and choose New Plug-in Style from Unstyled Plug-in…

     

    Give it a name and it will save it as a red symbol!  That's where this symbol comes from.  That's why it resists being edited.

    • Like 1
  3. The reason it doesn't work the way it seems like it should is that the symbol you are using is a red symbol.  (If you look at it in the Resource Manager you will see the name of the symbol is in red).  This means that it's actually a group of settings for a plug in object.  It's like a Marvin door.  It's still using the door tool.  But the symbol contains all the settings to configure it to be a specific door.

     

    To get what you need:

     

    Place the elbow in the drawing.  

    Go to any 3D view.  

    Select the object.  

    Modify>Convert>Convert to Group (Command-K on a Mac/Control-K on Windows)

    In the next dialog box choose Don't convert sub-objects to groups

     

    This will give you a group.  Ungroup it and you will have the sweep.

     

    Then make the symbol you want:

    Select the sweep.  

    Modify>Create Symbol

    In Other Options make sure that Convert to Group is NOT selected.

     

    Now you will have a symbol that can rotate any way you want.

     

    Keep an eye on the colors of symbol names.

     

    Black - normal everyday symbol you meet walking down the street

    Red - A parametric object (like a door, window, plant, etc) with a specific set of parametric values

    Blue - A symbol that stops being a symbol when inserted.  If more than one object is in the symbol it converts to a group.  If only one object, then it converts to just that object.  The link to the symbol is broken when the symbol is inserted.

    Green - A symbol that ignores scale.  It's alway at it's page size.

    • Like 4
  4. Merged cells won't survive either a row insertion or a copy paste.

     

    To make it faster I use these menu commands to format worksheets:

     

    https://www.verysmallgroup.com/worksheet-formatting-scripts

     

    You can either use the scripts as scripts or menu commands.  I prefer menu commands because you can assign a keyboard shortcut to merge cells, split cells, etc.  There are also commands to copy and paste cell formatting without affecting cell content.

  5. Great question.  

     

    I'll have to play around with it.  

     

    It is probably something like Result := SetObjectTags(ClassHandle, __________); where the blank is an array (?).

     

    I would probably set it up with column C being the tags separated by semicolons.

     

    I don't have time this week to work on it, but in a few hours someone else might have it working 🙂 .

    • Like 1
  6. To get rid of the page outline in design layers:  File > Page Setup… > uncheck Show page boundary

     

    To get rid of the grid:  Double click the Snap to Grid button in the Snap Settings > uncheck Show grid.

     

    Make sure that snap to grid remains turned off 🙂 

     

    image.png.c186ab545bcc4cb3a0544105bebb2329.png

    • Like 2
  7. This is one of the things that seems random when learning vectorscript.  

     

    Some things are controlled with functions and some are controlled with ObjectVariable - Boolean/Handle/Int/LongInt/Point/Real/String

     

    If you can't find it, just keep asking 🙂 

  8. I'm not the most qualified on this forum to answer VS questions - but…

     

    I usually use something like

     

    SymbolHandle := LNewObj;

     

    LNewObj returns a handle for the last object created by the currently executing script.  That way there's no confusion if you have a handle to a symbol instance or a symbol definition.

    • Like 1
  9. Draw a wall.  Set the height of the wall.

     

    Insert a door object.  Set the door configuration to Opening or Cased Opening (looks like opening in your photo).  Set the top shape to be round.

     

    Type in values for the width and height of the door.

    • Like 3
×
×
  • Create New...