找回密码
 注册
Simdroid-非首页
查看: 269|回复: 4

[原创] Configuration Utility of Patran 2012 Release Issues

[复制链接]
发表于 2012-9-18 15:08:42 | 显示全部楼层 |阅读模式 来自 广东深圳
Configuration Utility of Patran 2012 Release Issues
Many Friends asked me how to Run Configuration Utility of Patran 2012, here is the answer, for reference only. The Configuration Utility of Patran 2012 release has a bug,  It can not function!  Because the file p3config.pl missing two right curly brackets!  Please Correct it by yourself according the following text in red color:

p3config.pl file location:
For x86: C:\MSC.Software\Patran\20121\bin\exe\p3config.pl
For x64: C:\MSC.Software\Patran_x64\20121\bin\exe\p3config.pl

Details:

#
# MARC
#
   if ( $section eq "MscMarc" && $param eq "Acommand2012")
   {
      my($location) = QueryReg("Marc\\12.1.0") ;
      if ($location ne "")
      {
         $location = $location."\\marc2012\\tools\\run_marc.bat" ;
         $location =~ s#\\#/#g;
         $pair{$param} = $location ;
      }
      if ($location eq "")
      {
         $location = QueryReg("Marc Classic\\12.1.0") ;
         if ($location ne "")
         {
            $location = $location."\\marc2012\\tools\\run_marc.bat" ;
            $location =~ s#\\#/#g;
            $pair{$param} = $location ;
         }  # Here's missing a right curly bracket,add by Simulia,Feb 10,2012
      }
      else
      {
         $HelpMsg = "Cannot locate standalone Marc 2012 installation in the Registry. Use Browse button.";
      }
   }
   if ( $section eq "MscMarc" && $param eq "Acommand2011")
   {
      my($location) = QueryReg("Marc\\11.1.0") ;
      if ($location ne "")
      {
         $location = $location."\\marc2011\\tools\\run_marc.bat" ;
         $location =~ s#\\#/#g;
         $pair{$param} = $location ;
      }
      if ($location eq "")
      {
         $location = QueryReg("Marc Classic\\11.1.0") ;
         if ($location ne "")
         {
            $location = $location."\\marc2011\\tools\\run_marc.bat" ;
            $location =~ s#\\#/#g;
            $pair{$param} = $location ;
         }  # Here's missing a right curly bracket,add by Simulia,Feb 10,2012
      }
      else
      {
         $HelpMsg = "Cannot locate standalone Marc 2011 installation in the Registry. Use Browse button.";
      }
   }


评分

1

查看全部评分

发表于 2012-9-18 16:22:33 | 显示全部楼层 来自 湖北武汉
Simdroid开发平台
Great!Thank you very much! It works !

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

发表于 2012-9-27 14:02:32 | 显示全部楼层 来自 北京
下午多谢S啊,不知怎么回事?重装就好了,这个修改了就ok了,再次感谢
回复 不支持

使用道具 举报

发表于 2012-10-3 21:28:13 | 显示全部楼层 来自 北京
作为正式发布的版本,出现这样的低级错误实在是不应该,
回复 不支持

使用道具 举报

发表于 2013-8-21 23:21:06 来自手机 | 显示全部楼层 来自 江苏南京
没说具体怎么修改啊
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-23 19:33 , Processed in 0.036325 second(s), 15 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表