Jump to content

Hippocode

Member
  • Posts

    796
  • Joined

  • Last visited

Posts posted by Hippocode

  1. Would want to have a simple tag to switch on and off to lock the drawing in place. Prevents from accidential moving of the entire drawing. I know that there are ways to lock it, but just would not want to click so many times.

    I usually move that part to a separate layer which I show in my views, but not as active, then you can disable editing because it's not the active layer.

    Would be nice to be able to lock layers instead.

  2. Really the only thing I haven't found is how to change the current workspace - Would you be able to point me in the right direction here?

    Couldn't find it either, I thought it was possible :crazy:

    It is possible with the SDK.

    Either way, you probably won't be able to change palette size and positions either.

    Have you thought about using different user accounts instead ? Each user account can have it's own preferences.

  3. - change interactive settings

    - change active workspace

    - apply proper grid/snap settings

    I'm pretty sure you can change the active workspace using one of the VS commands.

    There are some available command "SetProperty"? or something similar will actively change settings.

    Other common settings are saved into an XML file in your user folder, but sadly those are read only.

    If there is no function or identifier available for the other setting you would like to change, then you can't.

  4. I have been thinking about this - and I have been trying out the issue plugin.

    Really the whole process needs to be conceptually reversed. Rather than selecting sheets and adding issue or revision data to those sheets - you should create issue or revision entries and then add sheets to them. That way if the issue or revision data needs to be modified, it is modified on all sheets in that issue.

    Then the issue or revision entry would contain the sheets that are associated with it - making really easy to see what was issued or revised on any date - rather than having to click through all sheet borders to see if that data was added.

    That and many other features yes. I've kept it to extending the current system as it is because I fear the day I create a separate system, Vectorworks comes with an update which would render all my work in the bin :)

  5. Yes, units don't matter.

    I wonder why everyone keeps asking that. Are there any tools for Vectorworks that are limited to a certain unit system ?

    I just downloaded a trial - and I did not see a place where I could convert the objects to imperial. All inputs are still expecting metric units. All objects seem to work - but duct sizes are listed in mm. Flows are all listed in metric as well. Did I download the wrong plugin?

    The inputs expect units based on your document unit settings and our own custom unit settings. The last one can be managed in the MEP settings dialog for each discipline, if available.

    If you have any further questions I suggest you mail me directly.

  6. Well if you want a taste of the SDK, my 2017 release will include an open source SDK project that is an extension of my module, with some of the code even open source.

    It will also contain some public interfaces that can be used to extend/personalise the tools I've created even further.

  7. This is fantastic! I can not believe I had not heard of these packs before. It seems like a relatively robust MEP collection as well as the common sense tools and dialogs that I have been waiting for.

    Well I still haven't placed an announcement in the third party forums yet but I will do so for the 2017 release. It will feature huge improvements.

    I am assuming all of these work with imperial units?

    Yes, units don't matter.

    I wonder why everyone keeps asking that. Are there any tools for Vectorworks that are limited to a certain unit system ?

  8. Thanks Hippo.

    So "IsNewCustomObject" is really useless then, because the second time, the object isn't new?

    V-G.

    I disagree. The function works as expected.

    What do you want to do actually ?

  9. It could be that when creating a new object, it's made to recalculate twice.

    Once with the event "OnFirstCreated" which makes your function return true, and once as an external reset at which point it isn't a new object anymore.

    You can test this by adding a dialog out of the scope of your IF ELSE structure.

  10. I started coding in VS object plugins and a couple of menu commands. And always wondering whether it was worth looking into C++. Hippothamus had started posting on his blog, steps for developing with the SDK and as I was starting to go through them , almost everything went over my head (Coming straight from VS). Then python got supported and, as you mentioned, coding in python is much faster to setup and rework your code with.

    I admit it's quite overwhelming starting in C++ without experience. But just so you know, I didn't know much about it either and also made the switch coming from VS, without any blog posts available :sick: .

    Once you can get one of the sample plug-ins working you will quickly learn how to extend these examples.

    I made the switch because of limitations in VS. At that time, there was no python to choose from. My main reasons where extending tools and custom controlpoints.

  11. So I was curious, as I'm wanting to get into developing plugins for VW, is there an avenue that developers take (like separate information streams eg Dev Newsletters etc) to get this info? Or is it just trial and error?

    Trial and error, the information is rather scarce but you can enlist for several specific mailing lists used by developers.

    Chances are some of your questions have already be answered on this forum, or on the mailing list which you can browse/search for past posts as well.

  12. @Hippocode

    Thanks for the helpful and interesting info.

    Can I ask you how to export a single linear dimension? I haven't done that yet...

    1) Open an empty drawing.

    2) Place one lineair dimension and setup some settings in the OIP. Specifically those that you want to control by script. Give them a value you can recognize in the code.

    3)Under the export options, you have "Script" or "Vectorscript" which saves a VS file that can recreate your current drawing.

    Open the text file in any editor and look what kind of code creates and sets the lineair dimension.

    4) In case the code isn't clear, repeat the steps above but with different settings in the OIP. Compare both text files and you will understand the differences.

    And another question...

    Is your tool 'standalone' or do I need to purchase one of your plugin sets?

    Thanks again,

    VvierA

    None of the tools are available standalone. There are 2 bundles, one cheap and one very cheap . The latest is a must have for any dedicated VW user.

    Both contain the organization objects plug-in.

  13. Yes and no.

    The OIP fields are not always bound to parameters. If they are, you can acces them the same way you acces record parameters. The record name will be the parametric object's name.

    I don't think unbound field can be retrieved in any way, but they likely don't hold the information you need.

    I've written a tool to find out which parameters belong to which object, but it will only work on parametric objects or symbols. Some of the native objects like the lineair dimension are something special and won't work with it, still it is very handy as it also shows hidden records and IFC records.

    You could try exporting a single lineair dimension and look at the VS code how these settings are saved. Some might be parameters, others might be properties etc etc...

  14. Hi

    We are expanding our MEP tool set to include tools for Electrical ingineering. I'm looking for interested parties that would like to try out a beta release and provide feedback.

    You can register by subscribing to our mailinglist and selecting the segment "Everything" and or "Beta testers". If you are allready subscribed you need to make sure you are receiving mails for one of the listed segments.

    You can expect the first instructions to be provided by the end of May - mid June.

    In short, the electrical tool set:

    • Enables creation of any kind of electrical device, from a simple receptacle to complex objects that can be part of multiple circuits at once.
    • Allows easy circuiting with a high level of customization.
    • Optionally display 2D representations of circuits on the drawing.

    Some of the key features:

    • All devices are symbol based to allow usage of your existing symbol library.
    • An optional secondary symbol allows distantiation of vertically stacked devices in 2D plan view.
    • An electrical panel manager dialog to configure your panels and assigned circuits. (Load calculations and load balancing included)
    • Cable length calculations.
    • A public interface to:
      • Register custom objects to be part of our MEP networks. Extend our module with your own objects.
      • Create your own schematics of panel contents.

      [*]Customisable voltage definitions, distribution systems, demand factors and load classifications.

      [*]Much more to discover...

  15. I wonder which things you can do in windows explorer that ain't possible in Finder.

    I've moved the opposite direction and I should have done so earlier.

    Using the automator you can also create these awesome little additions if you require additional scripts/functionality.

    I do have bootcamp installed, purely for programs that are only available on windows. I chose bootcamp because it's free and I never require both operating systems running at the same time.

  16. If you chop up the NURBS into a lot of points, you can calculate the tangent yourself.

    Just create a direction vector based on

    dir = next-current point

    . Normalize it and place it on the current point.

    calculating the perp is also manually possible, but you need to choose a plane as in 3D you have unlimited perp vectors.

×
×
  • Create New...