Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rocheey
  • Content: Threads
  • Order by date
  1. rocheey

    Assembly level custom props to part docs

    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....
  2. rocheey

    Reference Component/Configuration in Assy equation?

    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...
  3. rocheey

    API, ActiveX, and DLL plugins

    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...
  4. rocheey

    Copying a drawing sheet to another Drawing Document

    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...
  5. rocheey

    API - ModelDoc - Visual User Interaction

    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.....
  6. rocheey

    Win API: reading "text" from non-text control?

    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
  7. rocheey

    Errors resolving assembly references

    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...
  8. rocheey

    Network Permissions and API calls

    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...
  9. rocheey

    API: no brainer ?

    God, I hope this one is a &quot;brainer&quot; <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...
  10. rocheey

    API: Feature Mod date

    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...
  11. rocheey

    API: View to DXF module

    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...
  12. rocheey

    API - User Preferences

    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...
  13. rocheey

    SolidWorks Doc props: from API?

    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 &quot;Summary&quot;, &quot;Custom&quot;, or &quot;Configuration Specific&quot;, but are available in a...
  14. rocheey

    Derived Configurations .... grrrrr

    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 &quot;IsDerived&quot; function. I...
  15. rocheey

    API: Get (correct) arc normals from sketch?

    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...
  16. rocheey

    get SW03 to force a new flat pattern, like 01+?

    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...
  17. rocheey

    Faster workaround for this API 'feature' ?

    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...
  18. rocheey

    Design Table Dialog Suppression?

    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...
  19. rocheey

    Read-Only Macro caution

    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...
  20. rocheey

    Bugs or Drugs? Work Planes acting strange ...

    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 &quot;U-Joint&quot; plane. These planes would only be rotating othagonally. Im using SW2K1, sp0. 1) Create a sketch on the Front plane, and draw a vertical...

Part and Inventory Search