Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

    Modifying Capture to user's screen size

    Hi friends, Me and my colleague have different size of monitor. I have a part with many annotations(Notes, Datum etc.) Capture created in my screen displays all annotations. But in my colleagues system, due to different(smaller) screen size, all annotations are not visible. Can you please...
  2. vikt

    Macro to Create Point in Isolated Surfaces

    Hi LWolf, sorry for the late reply. I tried to create a boundary for the isolated master surface, but getting below error. "Boundary operator: the selected body is closed, it has no boundary. It is the case of a sphere as an example. Select an open body." It's an L shape profile, with holes...
  3. vikt

    Macro to measure line and point using "Any geometry, infinite" selection mode

    Thanks lWolf. Actually, it's an already existing, isolated line in a geo set which i have to use for measurement. but yes, i can definitely try what you suggested. regards, vikt
  4. vikt

    Macro to measure line and point using "Any geometry, infinite" selection mode

    Hi guys, I am trying to measure distance between a line and a point using below code. ptref = Partdocument.Part.CreateReferenceFromObject(pt1) 'creating reference from point refline = Partdocument.Part.CreateReferenceFromObject(line1) 'creating reference from line 'Get measure TheMeasurable =...
  5. vikt

    Macro library file

    Thanks. I got the file and chm reader too.
  6. vikt

    Access Multi layered hybrid body(Geo Set) in CATIA

    Thanks cilici. Will check and explore. Just one question. We did this macro for one part. I have a product with 50-100 parts in it. Is there a way to speed up the same process when looping through each product/part in a master product ? Regards, Vik
  7. vikt

    Access Multi layered hybrid body(Geo Set) in CATIA

    Thank you so much cilici. Exactly what i was looking for, this kind of constructive feedback is what really helps. Without CATIA.HSOSynchronized it was taking 12-13 sec to run this macro. With CATIA.HSOSynchronized it's now taking only 0.51 sec :) :) Can you tell me how it works and where else...
  8. vikt

    Access Multi layered hybrid body(Geo Set) in CATIA

    Guys, Created this macro, thought of sharing. Let me know your feedback, any correction/optimization comment is appreciated. 'Macro to hide all hybrid shapes for any level of Geo Set '******************************************************** Sub HideShowAllSurfaces() Dim iCount As Integer Dim...
  9. vikt

    Macro library file

    hi everyone, Is it possible to get this in a mobile app :) That would be something.
  10. vikt

    Access Multi layered hybrid body(Geo Set) in CATIA

    Thank you LWolf and Itsmyjob. Learned something new today. Will try this :)
  11. vikt

    Access Multi layered hybrid body(Geo Set) in CATIA

    Hi Friends, Below is the code to get the hybridshapes from each geo set. Now geo sets are inside another geo set, which is again in another geo set. 'Code For each hb as hybridbody in part1.hybridbodies '(first level) For each hb1 as hybridbody in hb.hybridbodies '(second level)...
  12. vikt

    Macro to Create Point in Isolated Surfaces

    Okay, so here is final solution. 1.Disassemble the master surface. 2.Create Boundary for each Isolated Surface(except the master surface) 3.Disassemble each boundary feature 4.You will get Line and Circles, loop through circles and Join them 5.If join is created, it's a full circle i.e a hole...
  13. vikt

    Macro to Create Point in Isolated Surfaces

    Hi, ferdo this will work if i have a solid body. But here i have an isolated surface. When i disassemble it, i get approx. 50 more surfaces. From there it is very difficult to find the surface which represent the hole in the bracket. This is what i have so far (manual approach) 1. Select the...
  14. vikt

    Macro to Create Point in Isolated Surfaces

    Yes, i have hundreds of brackets in one product and there are multiple such products. Selecting each bracket and creating boundary->Disassemble-> and then center point won't work. That's why an automation approach is needed. Vik
  15. vikt

    Macro to Create Point in Isolated Surfaces

    Hi LWolf, I understood disassemble, loop and circle curve. When I tried selecting the whole surface and disassembling it, after disassemble, all entities are coming as Surface.1,Surface.2 etc. How can i select the boundary or edge, so that i can get the exact whole surface ? Vik
  16. vikt

    Macro to Create Point in Isolated Surfaces

    Hi everyone, i have a product with multiple L Shaped bracket. Problem is, all these brackets are Isolated surface. Now each bracket has a hole( some may have two ). I need to create a point to the center of this hole. Request all to provide some solution or pointers, where i can try or create...
  17. vikt

    Macro library file

    Hi itsmyjob, Thanks for the post. This is exactly i was looking for. But due to some reasons, i am not able to see any code, but yes i am able to see the tree. I couldn't find any solution in the post that you shared. Please suggest. vik
  18. vikt

    Macro library file

    Hi everyone, i remember somebody sharing a macro library file. i downloaded it, it had lots of useful macros for each. Due to some reasons i lost that file. Can somebody please share it again ? regards, vik
  19. vikt

    Measure Distance - Point to Surface

    Hi, i am using this code. But due to some reason i m getting only 0 in as measure. Dim length1 As Dimension Set length1 = parameters1.CreateDimension("", "LENGTH", 0#)
  20. vikt

    Macro to Add Callouts in a drawing view

    Hi Guys, Need your help on this. Please reply. vikt

Part and Inventory Search