Jump to content

accessing a detail attribute of an rbd object in a DOP network


Recommended Posts

Hi!

 

I got a short question: How can I access a detail attribute of an rbd object inside a dop network.

I tried the dopfield command, but it somehow didn't work..

I tried:

dopfield("/obj/dopNet", "testObj_01", "Geometry", "", 0, "myTestAttr")

 

Any idea? :)

 

Thanks in advance!

 

 

Link to comment
Share on other sites

dopoption & dopfield
sub network
dopoption("..",$OBJID,"Position","impactValue")

more inside
dopfield("..",$OBJID,"Impacts","Impacts",0,"impulse")
dopfield("..",$OBJID,"Impacts","Impacts",0,"positiony")
more more inside
dopfield("/obj/dopnet1", "obj0", "Forces/Gravity_gravity1", "Options", 0, "forcey")
how many points
dopnumrecords("..",$OBJID,"Impacts","Impacts")
 
access to geometry in Dop
detail("..:$OBJID/Geometry", "inGRP", 0)

detail("/obj/AutoDopNetwork:$OBJID/Geometry", "inGRP", 0)
 
collision division on RDB
bbox("..:$OBJID/Geometry", 6)
bbox("..:$OBJID/Geometry", 7)
bbox("..:$OBJID/Geometry", 8)

Centroid
centroid("..:$OBJID/Geometry", 0)
 
 
 
 
Source:
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...