Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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: picia
  • Order by date
  1. picia

    Cross product of vectors - macro

    Ok handleman, Your proposition is good.Thanks for Your time and patience:)!
  2. picia

    Cross product of vectors - macro

    So, I want obtain a coordinates system where one of axis is normal to surface(vector of normal). Next axis must be a orthogonal to this normal. When I have this two vectors I can obtain third vector using cross product...
  3. picia

    Cross product of vectors - macro

    Yes, You have right handleman.But this is only good when normal is (0,0,1) or (0,1,0) or (1,0,0).And how willbe perpendicular vector when normal willbe for example (0.4251, 0, 0.687)?
  4. picia

    Cross product of vectors - macro

    Oh, Thanks handleman.I amke something like You... but your proposition is good. I think about this, that one of component to cross product (You proposs swCPwithX or swCPwithY or swCPwithZ) will be perpendicular to normal of selected surafce... I try use function in MathVector but there are...
  5. picia

    Cross product of vectors - macro

    I have simple program where I have a vector which represent normal of slected plane.Now I want to make a cross product between nthis vector and for example one vector of origin (x or y or z).How make taht?please help me...Below is a source code: Option Explicit Sub main() Dim swApp As...
  6. picia

    Cross product of vectors - macro

    Hi, I wan to build a macro which give me new vector using function MathVector.Cross . One of input vector is a normal of surface (for example plane) and a second is one of axis of origin. So, I want obtain vector emergent with this two inputs vectors... If this possible?If You have any ideas...
  7. picia

    Point relatively to origin

    So, part have many surface. I have a program which give me data about center of selected surface and normal to this surface. When we have a normal axis we can build some coordinate system based on this normal selected surface. Now we have this coordinate system build on normal axis. Now I wish...
  8. picia

    Point relatively to origin

    Hi, I have a surface and normal to surface.Now I want to put along this normal one of axis of coordinates system (not origin). Then I want have other 2 axis of coordinates system. At the end i would be great express how axis of this coordinate system are relativly to origin.(that they are for...
  9. picia

    Macro which save data a text file...

    Your advices are very helpful for me, so I'm greatful.Thanks!
  10. picia

    Macro which save data a text file...

    Yeah... this is great... but how make that macro willbe save more data in text file and don't delete earlier saved data in this text file only add in writing below earlier saved text... For example I want not only save center of surface, taht for example length on line...
  11. picia

    Macro which save data a text file...

    Hello... I have oncemore problem... I want save in text file a data for example: center of selected surface... not only text...I Try combine your macro handleman but i don't know how... It is possible save in text file coordinates of center of surface (XYZ)?If You can and have a time please...
  12. picia

    Macro which save data a text file...

    Exactlly this is it... I forgot check library in VBA... Thanks for YOu oncemore!
  13. picia

    Macro which save data a text file...

    hello handleman. I have a problem. When I try run macro which You write i have a message: Type of definition is non define, and this line is lighted Dim fso As Scripting.FileSystemObject In my version SolidWorks i don't have something like: Scripting, so I cannot difine fso like that... I use...
  14. picia

    Coordinates of point - macro

    It willbe good when this point is the closest to where the user clicked to select surface, if it is possible...
  15. picia

    Coordinates of point - macro

    Hello.I'm working with SolidWorks API not so long.I try make, then find macro which allow get coordintes of point (for example of surface). I don't want vertex and edge point because this I know how get. I want get coordinates any point of surface... If You have any odeas and have time to help...
  16. picia

    Macro which save data a text file...

    thanks handleman that is it!
  17. picia

    Macro which save data a text file...

    hello. I find macro which allow save data in excell file.But i want save data in text file.How make that?Do You have any ideas?I willbe graetfull for yours help...
  18. picia

    Macro "wait" till I select surface -possible?

    Thanks Handleman for your help.... I only need this part: 'This section is the actual "waiting" portion. While SelMgr.GetSelectedObjectCount < MINSELECTIONS DoEvents 'Wait for user selection Wend and this is what i needed.Thanks oncemore...
  19. picia

    Macro &quot;wait&quot; till I select surface -possible?

    hello. I try make it but I dont know how... Below is the code macro from internet.I dont give my code because is very long... I want make that when i run it I have information for example:Select Surface. Then macro "wait" for me and I can select surface and click ok or something like that.I want...
  20. picia

    Connect two macros...how?

    Oh yeah!That is that what I need!Thanks handleman for your great help!!!

Part and Inventory Search