Jump to content

Vikas Kumar

  • Content Count

  • Joined

  • Last visited

  • Days Won


Vikas Kumar last won the day on January 23

Vikas Kumar had the most liked content!

1 Follower

About Vikas Kumar

  • Rank
    Advanced User

Profile Information

  • Country
  • Are you University user?

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi VIpin, But in this method how to check which is assigned node and which one is referenced node. It is returning both. Regards, Vikas Kumar
  2. Hi Livil, Can we get system "reference and displacement" node by using tcl\tk script. It's very urgent. @Livil Lyle @tinh Best Regards, Vikas Kumar
  3. Thanks livil, This is helpful. I never tried in reverse as you have mentioned. And how we can review system as shown in image. If we know system id. @Livil Lyle please suggest. I tried below code but it is not helpful. *createmark systems 1 "all" set sysID [hm_getmark systems 1] *clearmarkall 1 foreach sys $sysID { *createmark systems 1 "by id" $sysID *showentitybymark 1 1 2 *reviewentity systems "by id" $sys 3 1 0 hm_redraw tk_messageBox -message "see is it ok" *resetreview } Best Regards, Vikas Kumar
  4. Hi all, I wants to get system which is attached to "CELAS2" element. or Node we can get which is attached to "CELAS2" element. From here How we can identify that system is also attached to that node. Is there any way to know node id from which a system is attached or can we identify whether a system is attached to a "CELAS2" element. I am using this code to get node id of "origin" but it is showing zero. # With system id set x [hm_getvalue systems id=52 dataname=originnodeid] ; # returning 0 # With system collector showing 0 attribute set x [hm_getvalue systemcols id=1 dataname=attributesmax] ; we can get node id by using Xref entities in HM for reference i am keeping image:- @tinh or @Livil Lyle help asap. Best Regards, Vikas Kumar
  5. Hi all, I am knowing the collector id which contains SPC or SPCD constraints. When i am enabling that load collector it will display load constraint along with DOF assigned to that load as shown in below fig. I need to get those DOF. Manually we can get it by using review option of constraints, But i need data. @tinh please let me know the soln.
  6. Hi Sandeep, It won't work if temperature load is applied on a "set" which contains node. In this case how temperature will be applied is like, Will create one load collector which contains load type temperature and that load will carry set as mentioned in below image. In that case temperature will be applied indirectly to nodes. And, in this scenario we can not check by above method. @sandeepballiwar and @tinh pls reply if any other solution is there. Best Regards, Vikas Kumar
  7. Hi @tinh Reverse mark means what ?? Are you saying about clearmark ? Regards, Vikas Kumar
  8. Hi All, I wrote a tcl\tk script to query whether each node in model is having temperature load or not. But problem with this script is, It is taking more time execute the code. Please provide any better script if available. Current script is taking more than 1.30 Hrs for the number of node 162114. Please provide if any solution exist as soon as possible. My script is:- proc validate args { *clearmark nodes 1; *nodecleartempmark *plot hm_redraw set selectNode [lindex $args 0] eval *createmark nodes 1 "$selectNode" set nodeToChkTemp [hm_getmark nodes 1] set nodeIDNotHvngTemp "" set lengthOfN [llength nodeToChkTemp] set currentTime [clock seconds] puts "Start date: [clock format $currentTime -format %D] , Total Nodes: $lengthOfN" puts "The time is: [clock format $currentTime -format %H:%M:%S]" hm_usermessage "Getting information about temperature on node......." foreach node $nodeToChkTemp { set chk 0 *clearmark loads 1 *clearmark nodes 1 *createmark nodes 1 $node *findmark nodes 1 1 1 loads 0 2 set loadID [hm_getmark loads 2] foreach ld $loadID { set loadType [hm_getvalue loads id=$ld dataname=typename] if {$loadType == "TEMPERATURE"} { set chk 1 break; } } if { !$chk} { lappend nodeIDNotHvngTemp $node } } *numbersclear *clearmark nodes 1; *nodecleartempmark; set currentTime [clock seconds] puts "End date: [clock format $currentTime -format %D]" puts "The time is: [clock format $currentTime -format %H:%M:%S]" puts "validate nodes: $nodeIDNotHvngTemp" *startnotehistorystate {isolateonly Component} *clearmark components 2 *createmark components 2 "all" *createstringarray 2 "elements_on" "geometry_on" *isolateonlyentitybymark 2 1 2 *endnotehistorystate {isolateonly Component} *plot hm_redraw *view "iso1" *window 0 0 0 0 hm_usermessage "" return $nodeIDNotHvngTemp } set chkNodeLst [validate "all"] puts "validate nodes: $chkNodeLst" # SCRIPT END Regards, Vikas Kumar
  9. Hi Zeta, Give me some time i will provide you same info. Regards Vikas
  10. tinh set var [hm_getconfigtypecountincol comps elems BEAM-6_0 -byname] ; # is returning (60 9 2) wiz config id is confusing . How to get again config name by id . Regards Vikas Kr
  11. Dear all, can we get different element type present in the one component by using tcl\tk script. Like one component have two element type wiz S3 and S4. so can we extract the same info using tcl\tk. @tinh pls suggest any API. Regards, Vikas Kumar
  12. Hi @tinh In this case it is working. Because here we know that both is a property entity. But in case of any other entity attached with this material in that case we need to find out. Can we find out all attached entity along with this material name in one shot. Thanks for your help.
  13. Hi @tinh Here not even single attribute type name is coming as entity. But i want this details as mentioned before also (Refer Below image). Data marked with red rectangle i needed. Manual process i have shown in image. Thanks
  • Create New...