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: *

  1. DSi1042

    SPAWorkbench Or Measure in V6 3DExperience - Scripting

    UPDATE: I think I solved this. Switched companies and now use 3DExperience and am wanting to get Point2D coordinates in the 3D space. I can get the objects coordinates in a 2D space referenced from the sketch axis, but not from the basic axis. I used to get at this issue with the SPAWorkbench...
  2. DSi1042

    Programming Femap/Nastran using Python

    As far as linking up to Femap with Python, see a previous post I had that may help you get the femap library converted over to the python module. http://www.eng-tips.com/viewthread.cfm?qid=379339
  3. DSi1042

    [FEMAP API] How to halt VBA code until Nastran has finished calculating?

    Z, Perhaps something similar to the following. Call it from your routine by: RunNastran("C:\mypath\myfile.bdf") Sub RunNastran(FilenameAndPath As String) ' Send a file with full path to this subroutine ' The command will be run in a shell window Dim WshShell As Object Dim ShellCmd As String...
  4. DSi1042

    How to copy elements from one coordinate system to another coordinate system in FEMAP

    Ok, forgot to correct the message that gets printed to the Message Window. Line 109 should be: App.feAppMessage(FCM_NORMAL,"Created copies in Cys ID " & CStr(cs.ID))
  5. DSi1042

    How to copy elements from one coordinate system to another coordinate system in FEMAP

    APav, great script! Really. I did find a problem with using it when it encountered node IDs that already existed. The script creates new nodes based on an offset, but if it finds one that already exists it assigns the next empty ID. But later on when it assigned nodes to the new elements it...
  6. DSi1042

    [femap api][python][run femap from python using python code]

    Oddly enough had this same issue a 2 weeks ago. For minor things where you don't need to get output (as variants) from the functions, you can connect to an open session like this: from win32com.client import Dispatch femap = Dispatch("femap.model") femap.feAppMessage(0, "Python has attached...

Part and Inventory Search