-
Posts
796 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Hippocode
-
-
14 hours ago, Benson Shaw said:
Extrude Along Path with hollow profile is good because path and profile are editable
Profile is circle with center clipped out.
Path can be planar (eg 2d polyline or other shape), or xyz (eg NURBS)
I find that the best method. This is also the way we create our pipes/ducts. (https://www.youtube.com/watch?v=zHELdSR75tA)
On the OIP you can select a material, sizes and a shape to create any circle, rectangle or oval profile including thickness based on the material sizes (hollow).
-
It depends if your symbol is supposed to by hybrid, 2D or 3D.
If you only have 3D content you should place the text in the 3D container as well, otherwise the symbol becomes hybrid and your text is the 2D part. You can play around with it a bit.
You do not need to copy the text from one container to another if you placed it wrong, if you just modify the layer plane or whatever it's called it's moved automatically.
-
Edit the symbol definition. When you are in the 2D container of it, just attach any record and set the appropriate data.
-
I could be wrong, but did you attach those record to the symbol definition or a symbol instance ? I believe the instance is exported, thus any record attached to an instance is ignored.
-
Ok you've made clear you need this feature. Since for you this is a regression, and it usually takes some time for this to be fixed (IF), I suggest you set up some custom selection scripts. You will have some variations but these can replace your old way of selecting the object records you need to edit.
-
33 minutes ago, Sam Jones said:
OK, that would be nice. Where have you seen this. The "this" being an easy way for an end user to set up a custom configured connection between two separately created and marketed programs to seemlessly share information. I'm sure this is the future of personal computing, but I haven't seen it or heard of it. I would love to check out any examples you can point me to.
Currently, VW seems to provide the most easily accessible tools for creating such a connection between CAD data and database data. Easily? No. More easily than other CAD programs? I think so, but my familiarity is not that great. Show me.
I could give some examples, but I'm not here to advertise other software nor should we start such a discussion
While it is possible with Vectorworks, it's not easy to say the least. I don't think the instructions are hard, but the method is, certainly for people with less computer skills.
I spend a lot of time in getting an ODBC connection work once and have not touched it since. It could be easier now, I can't tell.
That being said, Don. Give it a go, you will find several resources on the web or on this forum to get you started. People will help you if you end up stuck.
It will cost you some time, but will save you much more in the end.
Vectorscript or Python might be scary at first, but your investment of time will be earned back big time. If that is not your thing, let someone else code it for you.
That is what I like about this software, you can make it your own.
-
I have added such functionality to our next release. It comes as a custom Vectorscript function to move the active selection to another layer.
You can pass a layerhandle into the function or NIL in which case it launches a select dialog. You can also turn this into a menu command and bind it to a key.
-
Yes this is very annoying. Reminder to self to create a script for it.
-
You should create selection sets. Remember that with the custom selection tool, you can save your custom selection as a script.
From then on, you can just doubleclick it and it will select all objects with that specific criteria.
I would also suggest one record for the same object type, this will make it much easier for you. You could just add one additional parameter that sets the "choice" instead of using different records for each "choice".
Last but not least, automating the attachment of that record would also be a huge improvement. You wouldn't need to worry about objects not having it. It can be done with one of my custom tools available from 2018:
-
Well this is how it is supposed to work and allows you to have symbols with different information based on a common type.
Like Pat suggested, it's fairly easy to write a script to handle this. If you make it generic, it can handle any record / field type instantly and overwrite the changes to all symbols already placed in the drawing, regardless of the size of the record(s).
-
Hi Samuel
A symbol definition is a unique object which defines the default settings when you insert a symbol.
If you modify the geometry of the definition, all placed symbols will update.
If you modify records of the definition, existing symbols will not be updated.
If you modify a symbol record field in the drawing by any way, only that instance is modified, not the definition.
-
Well I don't think you can use VS to connect to an external SQL server. You probably can with python or c++.
Besides that, from what you describe getting the information you need should be fairly simple for both options, without the need of worksheets.
If automating the SQL injection would be too much, you could at least streamline your export to match the structure you require, even with plain vectorscript. -
I'm not sure if a Label legend is an existing object you are referring to.
You could create symbol definitions of all your unique objects, list them into a worksheet databaserow and show them with a visual and any parametric data attached. -
There are several new available for specific purpose. I suggest you download the SDK and look it up in the MiniCadHookIntf.h file.
I can't tell if they are exposed to VS, but I assume so.
-
I'm not home right now but I assume you set it op on init of your plug-in, where you can set up object properties like acceptings state events and such.
-
I believe it's saved into the unique "name" field which is visible close to the IFC button on the OIP. There are Get/Set functions available for that parameter.
If not you could use VectorMEP's "Organisation - Objects" dialog to find out all available fields attached to an object, including hidden fields which could contain your ID.
-
There is one tiny drawback, these settings are global (beyond the scope of a document) and you need to restart Vectorworks each time you modify the mapping settings.
The settings are kept in a XML file that can be shared.
As a precaution you can not attach hidden or parametric records for obvious reasons. -
2 minutes ago, Art V said:
That's fast
A question, will this plugin be part of the Basic (Extension Bundle version) or the Premium (Extension+MEP) version?
Something to consider, though I doubt it will have much impact overall given your description, for GIS Shapefiles can have only one record attached, but upon export to shapefile one can select the record to be used during export. The one thing to be very careful of in a GIS related situation is that attaching records should never replace modify/merge with existing records unless explicitly executed/approved. Usually the same record as for the existing object will be added, though its values may be different for some or all fields. It might be something to keep in mind when creating options for attaching records to avoid users selecting an option that would cause accidental changing/replacing of existing records (at least not without a warning) as I am not sure yet how your type value for parametric records would affect existing records. (I'm not a scripting person)The plug-in will be available in both bundles.
Currently I verify if the record is attached, it will only be added if not yet present. Thus you should never get any collisions. Also these will be attached on object generation (before you will be able to do anything with the object).
I have no knowledge about that GIS object. Why can you only add one record ? Seems strange
-
I managed to get a simple example working, being able to map a specific record to any object type. These records would be attached on object generation so you would never need to worry about the correct additional records being attached as all is handled in the background. In theory is any object valid, including custom objects for those of you that script a bit.
You could even take it a step further and allow to use different records on the same object type, based on parameter values. Lets say you have some sort of "type" value associated to the parametric record, we could set it up that you could define different secondary records to become attached on those occasions for your specific needs.
To handle at least a basic mapping, this needs some additional time spent on, as we need a decent dialog to manage and store all of this in the drawing.
I'm convinced this can be very beneficial to any workflow and have decided to add it to our 2018 release of VectorMEP.
I don't think your drawing would become heavy if you would add larger records to multiple object types, but then again such above interface would allow you to organize it a bit better and make specific records for each situation anyway.
-
I think this is a great idea. I'll see if I can come up with something using the SDK.
-
On 23-9-2017 at 9:44 PM, Jim Smith said:
I'll echo @Archidoc's sentiment as well!
I'll join the club as well. I was a great experience.
-
Just keep in mind that kObjectCreated is called several times for one object, also when the tool creates a dummy object visible on the screen!
-
Controlpoints should not be affected at all by the origin, as the coordinate values are stored relative to the inner origin of the object, which is always 0.0
-
I manage duplication using the kObjectCreated (13) event. In there I force it to -1. Next my object reset codes loads the ID and replaces it whenever it's -1.
On default, your object should reset after the above event is called.
Disabling the unique name field can be done by setting an object property (35) in the object init event. Example from the SDK
extProps->SetObjectProperty(objectID, kObjXPropDataNameDisabled, false);
Extrude along path (pipe)
in General Discussion
Posted
I'm working on the ability of drag and drop accessories on MEP networks. Accessories will be a combination of a symbol and the required connectors for it to connect to the MEP network.
There is already a basic dragging implementation where you can stretch parts of a network, but not in all situations. It will be improved though.
When right clicking a segment you can set it's slope, also when drawing new segments. It could be it's not the complete solution you are after. You can also draw from invert, bottom or top as centerline.