-
Posts
796 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Hippocode
-
-
The selectors are in Appendix F: http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix#Appendix_F_-_Preference_Selectors
Additional selectors can be found in the "MiniCadCallBacks.h" header file of the SDK source. I don't think all selectors are listed in the appendix.
-
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.
-
- 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.
-
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
-
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.
-
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.
-
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 ?
-
-
-
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 ?
-
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.
-
The good old days of pokemon :grin:
-
-
Working on it
The next update will allow much more control of fittings and custom equipment.
-
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.
-
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.
-
I can't remember not having this issue. It's always been doing so.
-
@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.
-
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...
-
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...
- Register custom objects to be part of our MEP networks. Extend our module with your own objects.
- Enables creation of any kind of electrical device, from a simple receptacle to complex objects that can be part of multiple circuits at once.
-
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.
-
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.
-
While traversing the handles inside that container, you need to verify it is a symbol.
GetObjectTypeN() tells you what kind of type the handle is. If its a symbol you can start doing your magic.
Note that if your symbol could be part of a group, inside your PIO, you need to search recursively.
-
Try this instead:
http://developer.vectorworks.net/index.php/VS:FInGroup
I believe you can also use a foreachobject call with deep search, but then you will traverse everything in your document.
A tag to prevent from moving
in Wishlist - Feature and Content Requests
Posted
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.