Assembly level custom props to part docs
I am trying to (to see if I can) have custom properties,
in an assembly, be propagated down thru the part files,
*without code*
anyone have any tricks? Ill even go from Assy -> dwg-> part
if I have to....
Referencing Component/Configuration in Assy equations ...
Is this possible?
Can I have 2 configurations of a part file, with config-specific dimensions,loaded into an assembly as 2 different components, and drive that dimension in-context from the assembly? (And have each config have a...
In my current project, I decided to make an custom activeX
control as a 'replacement' FeatureManager. (Its a custom treeview that allows numeric/boolean/listbox inputs within the tree, and I'll be putting it in a newly created FeatureManager Tab)
I currently have all the code that interfaces...
Is there a semi-easy way to do this? API would be nice, but a manual description can be automated later.
Reloading the template seems straightforward enough, as does updating its custom props, but what about the drawing views ?
My employer prefers a single document to hold similar part...
Is there a way to generate this thru code? Im not looking for a specific implementation (at least yet) but would like to be able to give the user some dynamic visual feedback, like when one extrudes or moves a dimension.....
Not sure if this is even possible, but if text were 'printed' on a form, or image control, is it possible to retrieve what is printed? Or is the text 'drawn on' ?
No Problems here using messaging or subclassing, just dont want to have write some sort of OCR code ...
TIA
Ive got a strange problem that started appearing when the speed of my connection to a remote site slowed down.
Ive got a macro/application that opens up assemblies, recurses out the part references, counts the parts, etc, and if the child part is a new part, opens the part file and exports the...
It wasnt long after our IT guy left that my old NT4 partition drew its last breath. Im now running SW03/SP3 on a Win2k/SP4 box.
Im now finding that none of my programs that attempt to read the geometry out of a dwgdoc.View are working. There is no error, it just returns happily and says the...
God, I hope this one is a "brainer" <grin>
using: SW03, SP0
I just want to FORCE a new instance of SW to start, whether an instance is running or not.
Tried CREATEOBJECT, and even the NEW keyword
(set swapp=NEW SldWrks.SldWrks)
both resulted in hooking the existing application.
I...
Has anyone used this successfully? (Feature:DateModified) ...I was hoping to use this to tell if/when parts files have been changed, but it seems to be pretty literal: it only shows a change in a mod date if the actual FEATURE (and not an underlying sketch or dimension) have been modified, like...
It seems there are quite a few threads dealing with exporting DXFs from drawing views, especially when needed for manufacturing. Below is a sample module showing how to parse the geometry from a solidworks view, and how to output your own autocad version 12 compatible dxf file.
This module...
I'm looking for someone who is able to translate the help files on this one, into English <grin>
Have several calls which read/set/reset various preferences, but Im hoping there is a preference, either SW, User, or ModelDoc, which will allow me to temporarily disable the dialog which asks me...
This one *seems* easy enough: there are properties available
to link to drawings and models, even when 'manually' making parts, that are not listed in the standard File Properties tabs of "Summary", "Custom", or "Configuration Specific", but are available in a...
Since derived configs were available, Ive been searching for a way to tell which, if any, configs were derived.
There is no 'parent' or 'child' feature for configurations,
and, contrary to what the posted source code on the SW website says, there is no "IsDerived" function.
I...
Ive been using a routine for a while that works well, using GetPolyLines5 to extract all the lines/arcs/polys/splines, etc from a drawing VIEW. No problem here.
But Im attempting to now do similar with a 'block' object.
It seems I have to get the SKETCH Object (instead of the View object) from...
In sw2001+, if a 'legacy' model was opened, and it already
had an 'old-style' flat pattern (not derived, and not auto-updatable), 01+ would still generate a newer, derived configuration and generate the new flat pattern there.
In '03, Im finding that the presence of an old style flat pattern...
I just discovered that the CreateFlatPatternFromModelView
API call does NOT return an error if it successfully creates a view, with an unsuccessfully flattened part (ie, Model has errors preventing it from unfolding)
If there is only one config in the part, or if the current config on opendoc...
Im using OLE/VBA to edit design table configurations.
All goes well, except for the darn MsgBox telling me that I have created|removed a configuration.
Ive found the entries for suppression of File Dialog messages, but not for Design-Table messages. I have all the info I need from the return...
I normally zip my macros before emailing them (to myself at work), but not today... SW didnt say a word about the read-only attribute when I opened it, nor every 15 mins or so when I saved it throughout the day.
Needless to say, when I quit the macro and opened it back up, I was where I...
This may be a bug; or maybe it's just not working as I thought it might. I wanted to make a set of planes that rotate, and use it like a "U-Joint" plane. These planes would only be rotating othagonally.
Im using SW2K1, sp0.
1) Create a sketch on the Front plane, and draw a vertical...